﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2008 / SQL Server 2008 Administration  / A .NET Framework error in SQL server 2008 R2 / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 22 May 2013 09:16:34 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: A .NET Framework error in SQL server 2008 R2</title><link>http://www.sqlservercentral.com/Forums/Topic1409051-1550-1.aspx</link><description>[url]http://support.microsoft.com/kb/949080[/url][quote][b]Workaround 1[/b]To work around scenario 1 in the "Symptoms" section, you must manually update the .NET Framework assemblies in SQL Server. To do this, use the ALTER ASSEMBLY statement to point to the new version of the .NET Framework assembly in the following folder:%Windir%\Microsoft.NET\Framework\VersionNote Version represents the version of the .NET Framework that you installed or updated.[b]Workaround 2[/b]To work around scenario 2 in the "Symptoms" section, use the ALTER ASSEMBLY statement to update the assembly in the database. If the problem still exists after you do this, drop the assembly from the database, and then register the new version of the assembly in the database.[/quote]</description><pubDate>Mon, 21 Jan 2013 03:59:24 GMT</pubDate><dc:creator>Sean Pearce</dc:creator></item><item><title>A .NET Framework error in SQL server 2008 R2</title><link>http://www.sqlservercentral.com/Forums/Topic1409051-1550-1.aspx</link><description>Hi All, one of our System monitor job is failing with the below error. ''[i] Executed as user: REDMOND\MyServiceAccount. Start - SP spAddSGUsersToRGMetaData at 2013-01-17T12:00:01.9155919 [SQLSTATE 01000] (Message 50000)  Msg 6522, Level 12, State 1, Procedure spGetSGMembers, Line 0 A .NET Framework error occurred during execution of user-defined routine or aggregate "spGetSGMembers":   System.IO.FileLoadException: Could not load file or assembly 'System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Assembly in host store has a different signature than assembly in GAC. (Exception from HRESULT: 0x80131050) See Microsoft Knowledge Base article 9490 [SQLSTATE 42000] (Error 50000).  The step failed.A .NET Framework error occurred during execution of user-defined routine or aggregate :   System.IO.FileLoadException: Could not load file or assembly 'System.DirectoryServices, , Culture=neutral, one of its dependencies. Assembly in host store has a different signature than assembly in GAC. (Exception from HRESULT: 0x80131050) See Microsoft Knowledge Base article 9490 [SQLSTATE 42000] (Error 50000).  The step failed.[/i]''Select * from sys.dm_clr_properties gave me  C:\Windows\Microsoft.NET\Framework64\v2.0.50727\.But when i go and checked at the actual location I saw a newer version folder which was installed yesterday i,e v4.0.30319 I'm not sure how to change the version from older  to newer version from SQL Instance point of view..Can you please help me resolve this issue...</description><pubDate>Fri, 18 Jan 2013 11:58:58 GMT</pubDate><dc:creator>Mac1986</dc:creator></item></channel></rss>