Reference to vjslib.dll fails after RTM Framework 2.0 installation

After installing Framework 2.0 from MSDN subscriptions my previously working reference to a J# assembly fails with

'Could not load file or assembly 'vjslib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.'

The assembly is COM interfaced, strong typed and is being called from an ASP page. This also occurred when using an early beta of 2.0 and was reported, but assumed it would be fixed by RTM. The site is using 1.1.4322

As previously stated, this same assembly ran fine before 2.0 was installed.


Answer this question

Reference to vjslib.dll fails after RTM Framework 2.0 installation

  • Arghya.mp

    Hi,
    Can you please elaborate more on how does you application uses this dll

    What I got from your post is that you have externally referenced the dll and then consuming the classes/APIs exposed by it Am I correct

    Also I didn't get the sentence "registration of the jsharp assembly for com which is not translated on the initial intalof .net 2.0".

    Also please write the specific APIs or piece of code. if possible. I know this should not be related to loading the dll but I just want to have a good repro scenario.

    Thanks.


  • Phillip Trelford

    Hi,
    Thanks for reporting this issue. We are looking into this and will get back to you asap.
    Thanks for your patience.



  • ElizabethB

    The j# assembly has the reference to the 1.1 vjslib in the references section in vs.net 2003. It has an install method which registers its progid against a class id when our .net app is installed. It is also compiled with the 'register for com interop' flag set. 

    The progid is then initialized from a classic asp page with server.createobject("progid"). Under the circumstances stated before (initially after framework 2.0 install) the error occurs when accessing the asp page. After installation of vjslib 2.0 the error still occurs. Only after reinstallation of our app (and the install method of the assembly is called to re register the assembly) does the initialization from the asp page complete successfully.

  • GIS_Developer

    Thanks, since we do have a workaround and I doubt that a fix will be available until after we have had to work around the issues after our clients install the 2.0 framework I'll assume we will have to reinstall our product or do a manual registration of our j# assembly after the framework2.0 installation.
  • aaborkar

    after installation of RTM jsharp redist, still didn't work.

    after reinstallation of my product, the jsharp assembly worked fine.

    must have something to do with the install method and the registration of the jsharp assembly for com which is not translated on the initial intalof .net 2.0.

  • Reference to vjslib.dll fails after RTM Framework 2.0 installation