Assembly Create Issue in MS Sql Server 2022

Karan Sahu 0 Reputation points
2024-06-22T04:56:15.9266667+00:00

Create failed for SqlAssembly 'JintLibrary'. (Microsoft.SqlServer.Smo)

Assembly 'system.runtime, version=7.0.0.0, culture=neutral, publickeytoken=b03f5f7f11d50a3a.' was not found in the SQL catalog. (Microsoft SQL Server, Error: 6503)

the library contain the use of JINT nuget package
please assist !

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,202 questions
{count} votes

2 answers

Sort by: Most helpful
  1. MikeyQiaoMSFT-0444 1,585 Reputation points
    2024-06-24T10:09:25.03+00:00

    Hi,Karan Sahu

    The specified assembly path is the DLL file generated by a regular class. Create a new SQL Server CLR database project class library and generate the DLL file.

    Best Regards,

    Mikey Qiao


    If you're satisfied with the answer, don't forget to "Accept it," as this will help others who have similar questions to yours.

    0 comments No comments

  2. Olaf Helper 42,761 Reputation points
    2024-06-24T11:17:22.0566667+00:00

    Do you mena this NuGet package? https://www.nuget.org/packages/Jint/

    Not possible to use it as SQL Server CLR.

    Why do you want that at all?

    0 comments No comments