Assembly '' references assembly 'microsoft.sqlserver.dtsruntimewrap, ', which is not present in the current database

143 Views Asked by At

I created an assembly of microsoft.sqlserver.dtsruntimewrap as my code got this dependency. It created the assembly succesfully.

So when I created an assembly of my script as follow :

CREATE ASSEMBLY transfer8555
FROM 'C:\Users\transferTask\Transfer\bin\Debug\Transfer.dll'
WITH PERMISSION_SET = UNSAFE;

it returns me this error :

Assembly 'Transfer' references assembly 'microsoft.sqlserver.dtsruntimewrap, version=11.0.0.0, culture=neutral, publickeytoken=89845dcd8080cc91.', which is not present in the current database. SQL Server attempted to locate and automatically load the referenced assembly from the same location where referring assembly came from, but that operation has failed (reason: 2(The system cannot find the file specified.)). Please load the referenced assembly into the current database and retry your request.

0

There are 0 best solutions below