Quantcast
Channel: .NET Framework inside SQL Server forum
Viewing all articles
Browse latest Browse all 780

Unable to load System.IdentityModel.dll assembly into SQL Server 2012

$
0
0

Hello,

I try to load an assembly which refers to 'System.IdentityModel.dll' (because it uses WCF) into SQL Server 2012 Express 64Bit.

I get always this error message:

Msg 6544, Level 16, State 1, Line 41

CREATE ASSEMBLY for assembly 'System.ServiceModel'

failed because assembly 'microsoft.visualbasic.activities.compiler' is malformed or not a pure .NET assembly.

Unverifiable PE Header/native stub.Msg 10301, Level 16, State 1, Line 42Assembly 'SQL2012OPCFunctions' references

assembly 'system.servicemodel, version=4.0.0.0, culture=neutral, publickeytoken=b77a5c561934e089.', 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.

I use to load the assembly from this path: ''C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\System.ServiceModel.dll''

All other referenced assemblies are loaded without any problem.

The assembly worked already under SQL server 2008 R2 64Bit.

Has anyone an idea how to solve this problem?


Viewing all articles
Browse latest Browse all 780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>