Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Visual J# / November 2003

Tip: Looking for answers? Try searching our database.

'vjslib' could not be loaded

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Anandan - 05 Nov 2003 02:44 GMT
Currently I'm working in VS.NET version 1.0 with C#.
I would like to use VJ# - java.io.zip library which is
required for my module. So installed VJ# dist. version
1.0.3333.0 which is suitable for VS.NET version 1.0.
Before installing VJ#'s dist package, I installed .NET
service pack 2 as well.

Problem:
--------
I'm developing a Web based file manager which requires zip
functions. So I am trying to make use VJ#'s java.io.zip
library to do zip function. I added all the references to
my project in order to use this library. When I am trying
to run this project, I got the following the error.

=======================ERROR==============================
File or assembly name vjslib, or one of its dependencies,
was not found.
Description: An unhandled exception occurred during the
execution of the current web request. Please review the
stack trace for more information about the error and where
it originated in the code.

Exception Details: System.IO.FileNotFoundException: File
or assembly name vjslib, or one of its dependencies, was
not found.

Source Error:

An unhandled exception was generated during the execution
of the current web request. Information regarding the
origin and location of the exception can be identified
using the exception stack trace below.  

Assembly Load Trace: The following information can be
helpful to determine why the assembly 'vjslib' could not
be loaded.

=== Pre-bind state information ===
LOG: DisplayName = vjslib, Version=1.0.3300.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
(Fully-specified)
LOG: Appbase = file:///c:/inetpub/wwwroot/FileServer
LOG: Initial PrivatePath = bin
Calling assembly : FileServer, Version=1.0.1404.19181,
Culture=neutral, PublicKeyToken=null.
===

LOG: Version redirect found in framework config:
1.0.3300.0 redirected to 1.0.5000.0.
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file
(C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from
C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\config\machine.config.
LOG: Post-policy reference: vjslib, Version=1.0.5000.0,
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporar
y ASP.NET Files/fileserver/155b5546/a9a54487/vjslib.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporar
y ASP.NET
Files/fileserver/155b5546/a9a54487/vjslib/vjslib.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/FileServer/bin/vjslib.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/FileServer/bin/vjslib/vjslib.DLL
.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporar
y ASP.NET Files/fileserver/155b5546/a9a54487/vjslib.EXE.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporar
y ASP.NET
Files/fileserver/155b5546/a9a54487/vjslib/vjslib.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/FileServer/bin/vjslib.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/FileServer/bin/vjslib/vjslib.EXE
.

Stack Trace:

[FileNotFoundException: File or assembly name vjslib, or
one of its dependencies, was not found.]
  FileServer.WebForm1.Page_Load(Object sender, EventArgs
e) +0
  System.Web.UI.Control.OnLoad(EventArgs e)
  System.Web.UI.Control.LoadRecursive()
  System.Web.UI.Page.ProcessRequestMain()

========================END=============================

PLEASE someone help me to fix this problem...

Thank you in advance...
Michael Green - 05 Nov 2003 23:12 GMT
Hi Anandan,

The error you are seeing means that either the vjslib.dll or another dll it
depends on could not be found.  Looking at the binding log it appears that
you also have .Net Framework 1.1 installed and the app is running under
that version of the framework.  There is also a binding redirect that is
occuring telling the CLR to use the vjslib.dll from J# Redist 1.1. Please
make sure you have installed this version.

Thanks,

Michael Green
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.