SQLCLR using the wrong version of the .NET Framework

后端 未结 6 1909
心在旅途
心在旅途 2020-12-05 17:54

During a recent restart of our development server the SQL Server started using .NET 4.0 for the SQLCLR. This means that nothing using the CLR in SQ

6条回答
  •  感情败类
    2020-12-05 18:52

    From the article and my research on the web, it looks like the opposite might be happening - could you potentially be registering a 4.0 DLL? It appears that SQL Server 2008 will always load the 2.0 CLR and not the 4.0 CLR. Try running this statement, it will tell you what version your SQL server is running:

    select * from sys.dm_clr_properties

提交回复
热议问题