Your local management studio may be 2012, but the server you're running queries against is 2005 still. You will need 2012 or 2014 to use newer version of .NET framework.
How do I get SQL Server Management Studio to use .NET 4?
-
29-06-2023 - |
Question
Context: SQL Server 2012
Microsoft SQL Server Management Studio 11.0.3128.0
Microsoft Data Access Components (MDAC) 6.1.7601.17514
Microsoft MSXML 3.0 4.0 5.0 6.0
Microsoft Internet Explorer 9.11.9600.16521
Microsoft .NET Framework 4.0.30319.18444
Operating System 6.1.7601
When in SSMS I execute the query
select * from sys.dm_clr_properties
and get told
directory C:\Windows\Microsoft.NET\Framework\v2.0.50727\
version v2.0.50727
state CLR is initialized
How do I set the dm_clr_properties to .NET v4? The servers in town are also running SQLServer 2012 and respond to the same select statement with details about v4.
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow