Joshua Drake
Joshua Drake

Reputation: 2746

Assembly could not be installed because existing policy would keep it from being used

While attempting to load an earlier version of a .NET assembly, indicated as possible in a comment on an answer to MSSQL 2012 creating CLR triggers for WCF fails. I receive the titular error message.

Despite searching for additional information on the error itself, ensuring that 3.5 was installed in Windows Features, investigating useLegacyV2RuntimeActivationPolicy and more, I have been unable to determine how to enable previous versions of .NET assemblies to execute in SQL Server 2012 on Server 2012.

Does anyone know what is required to allow this execution?

Upvotes: 1

Views: 12152

Answers (1)

steoleary
steoleary

Reputation: 9278

Have a look at the following SO post and see if that is applicable to your issue:

SQLCLR using the wrong version of the .NET Framework

Upvotes: 4

Related Questions