Skip to main content

Problem

  • Product Name: VisiBroker for .NET
  • Product Version: 8.0 & 8.5
  • Platform/OS Version: Windows

When running idl2cs, System.IO.FileNotFoundException may be thrown with the following error message:

Unhandled Exception: System.IO.FileNotFoundException: File or assembly name vjslib, or one of its dependencies, was not found.
File name: "vjslib"
at idl2cs.Driver.main(String[] args)

=== Pre-bind state information ===
LOG: DisplayName = vjslib, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a (Fully-specified)
LOG: Appbase = C:\\\\VisiNet\\bin\\
LOG: Initial PrivatePath = NULL
Calling assembly : idl2cs, Version=8.0.1.4, Culture=neutral, PublicKeyToken=f451cb1407ec555e.
===

LOG: Publisher policy file is not found.
LOG: Host configuration file not found.
LOG: Using machine configuration file from c:\\WINDOWS\\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:/Visi8new/VisiNet/bin/vjslib.DLL.
LOG: Attempting download of new URL file:///C:/Visi8new/VisiNet/bin/vjslib/vjslib.DLL.
LOG: Attempting download of new URL file:///C:/Visi8new/VisiNet/bin/vjslib.EXE.
LOG: Attempting download of new URL file:///C:/Visi8new/VisiNet/bin/vjslib/vjslib.EXE.

Resolution

VisiBroker 8.0 .NET was compiled with the Microsoft Visual J# .NET Redistributable Package 1.1. When the exception above may be thrown, you may need to check from installed program (Go to Control Panel -> Add or Remove Programs) if Microsoft .NET Framework 1.1 and Microsoft Visual J# .NET Redistributable Package 1.1 are installed. If not, you may need to download it and and install the package to resolve this issue.

Old KB# 30551

#.net
#Security
#vjslib
#idl2cs
#VisiBroker
#j