J# and SQL Server Problem

Hi, I am using SQL Server 2005 b2 and i want to integrate my J# project with SQL Server. .NET Platform compiles it. No problem there. But while i try to create assembly by referencing  produced dll file, SQL Server gives that error:

"Msg 6581, Level 16, State 1, Line 2
Could not find assembly 'vjscor.dll' in directory 'c:\'."

What is the problem Thanks in advance...


Answer this question

J# and SQL Server Problem

  • Angela Zhou

    Just to understand the issue better

    1) Is J# redist installed on the machine where you are creating the assembly Just verify this by searching for vjc.exe\vjslib.dll\vjscor.dll in Microsoft Framework directory. (c:\WINDOWS\Microsoft.NET\Framework\v2.0...\) (c:\ is drive where u have installed .net framework)

    2) If J# redist is installed, please take a look at following post, it contains a workaround for your issue.

    http://staff.develop.com/bobb/weblog/default.aspx date=2004-10-30


    3) Also try posting this query onto SQL forum at http://forums.microsoft.com/msdn/default.aspx ForumGroupID=19.

    Thanks,

  • MattiasJ

    J# redist installed on "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322".  vjc.exe\vjslib.dll\vjscor.dll exist here. I enter this folder pathname to 'Path' variable  in environmental variables (with fully hopes that may work, but it doesn't work again).
    Then, I set the project output to this folder and produce the dll into this folder. The  error changes like:
    "Msg 6218, Level 16, State 2, Line 4
    CREATE ASSEMBLY for assembly 'ClassLibrary1' failed because assembly 'ClassLibrary1' failed verification.  Run peverify on the assembly to determine the cause of failure.
    "
    Can J# redist may be out of date Or .NET out of date Thanks again...

  • GeoK

    I solved the problem. There is a path problem and also PERMISSION would be UNSAFE.
    Path problem is solved by producing dll  into the C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322. Is there any setting that gives me the freedom of producing dll file into anywhere Thanks again...

  • J# and SQL Server Problem