0

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?

Community
  • 1
  • 1
Joshua Drake
  • 2,581
  • 2
  • 34
  • 53
  • Hello, have you solved the question? If yes, could you share the solution? – Boogier Jun 23 '14 at 08:00
  • @Boogier Unfortunately we were forced to resort to an NTLM WebClient request; using `System.Security.Principal.WindowsIdentity`, `WindowsImpersonationContext`, and the `CredentialCache`. If you are interested I can post sample code here. – Joshua Drake Jun 23 '14 at 16:41

1 Answers1

3

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

Community
  • 1
  • 1
steoleary
  • 8,362
  • 2
  • 28
  • 45