<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Patrick Purviance - SQL Server DBA Blog</title>
	<atom:link href="http://impactsolutionsonline.com/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://impactsolutionsonline.com</link>
	<description>Blogging impactful solutions for SQL Server DBAs worldwide</description>
	<lastBuildDate>Fri, 09 Mar 2012 21:46:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>Comment on Failed to initialize the Common Language Runtime (CLR) v2.0.50727 with HRESULT 0×800 by admin</title>
		<link>http://impactsolutionsonline.com/failed-to-initialize-the-common-language-runtime-clr-v2-0-50727-with-hresult-0x800/comment-page-1#comment-3772</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 09 Mar 2012 21:46:52 +0000</pubDate>
		<guid isPermaLink="false">http://impactsolutionsonline.com/?p=346#comment-3772</guid>
		<description>&lt;strong&gt;UPDATE 3:&lt;/strong&gt;
&lt;br&gt;
Ok, after a couple months back and forth with Microsoft Support and testing a couple of theoretical resolutions, we finally believe we resolved the issue.
&lt;br&gt;
The first attempt that seemed to work for about a month, was to enable CLR, restart the affected server, then disable CLR and restart again.  Again, this appeared to solve the issue....for a while.  Then it came back seemingly all of sudden with no difference in activity.  Just started exhibiting the errors again. Our heads hung low and we enabled a memory dump trace for the 6512 error condition.  We then reproduced the error by executing a DDL command against a replicated article and sent off the trace to Microsoft.  They replied with another solution based on what the engineers found in the dump.
&lt;br&gt;
Based on the dump that was captured we were able to determine that this problem is actually related to an issue in Server 2003 not unloading DLLs correctly. 
&lt;br&gt;
&lt;strong&gt;&lt;em&gt;FIX: Error messages after SQL Server has been running for some time on Windows Server 2003 or on Windows 2000: &quot;Failed to load FileName.dll&quot; and &quot;Attempts to load any type of dll might fail within the SQL Server process&quot;&lt;/em&gt;&lt;/strong&gt; - &lt;a href=&quot;http://support.microsoft.com/kb/941105&quot; rel=&quot;nofollow&quot;&gt;http://support.microsoft.com/kb/941105&lt;/a&gt;
&lt;br&gt;
Per the KB - the problem occurs because no thread local storage (TLS) slot is available for the SQL Server process (Sqlservr.exe). And in the dump that was captured we were able to determine that the number of TLS slots was 0.
&lt;br&gt;
This hotfix should address the TLS slot problem causing these errors. 
&lt;br&gt;
Hope that helps someone else out there.  
&lt;BR&gt;
       -Patrick</description>
		<content:encoded><![CDATA[<p><strong>UPDATE 3:</strong><br />
<br />
Ok, after a couple months back and forth with Microsoft Support and testing a couple of theoretical resolutions, we finally believe we resolved the issue.<br />
<br />
The first attempt that seemed to work for about a month, was to enable CLR, restart the affected server, then disable CLR and restart again.  Again, this appeared to solve the issue&#8230;.for a while.  Then it came back seemingly all of sudden with no difference in activity.  Just started exhibiting the errors again. Our heads hung low and we enabled a memory dump trace for the 6512 error condition.  We then reproduced the error by executing a DDL command against a replicated article and sent off the trace to Microsoft.  They replied with another solution based on what the engineers found in the dump.<br />
<br />
Based on the dump that was captured we were able to determine that this problem is actually related to an issue in Server 2003 not unloading DLLs correctly.<br />
<br />
<strong><em>FIX: Error messages after SQL Server has been running for some time on Windows Server 2003 or on Windows 2000: &#8220;Failed to load FileName.dll&#8221; and &#8220;Attempts to load any type of dll might fail within the SQL Server process&#8221;</em></strong> &#8211; <a href="http://support.microsoft.com/kb/941105" rel="nofollow">http://support.microsoft.com/kb/941105</a><br />
<br />
Per the KB &#8211; the problem occurs because no thread local storage (TLS) slot is available for the SQL Server process (Sqlservr.exe). And in the dump that was captured we were able to determine that the number of TLS slots was 0.<br />
<br />
This hotfix should address the TLS slot problem causing these errors.<br />
<br />
Hope that helps someone else out there.<br />
<br />
       -Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Failed to initialize the Common Language Runtime (CLR) v2.0.50727 with HRESULT 0×800 by admin</title>
		<link>http://impactsolutionsonline.com/failed-to-initialize-the-common-language-runtime-clr-v2-0-50727-with-hresult-0x800/comment-page-1#comment-3247</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 19 Dec 2011 16:03:02 +0000</pubDate>
		<guid isPermaLink="false">http://impactsolutionsonline.com/?p=346#comment-3247</guid>
		<description>UPDATE 2:

Well, here we are again.  The reinstallation of .NET 3.5 SP1 did NOT fix this error in Replication.  After that attempt, we decided to take another stab at it by completely unistalling all of the .NET frameworks from the server.  I uninstalled .NET 2.0, 3.0, and 3.5 SP1 via Add/Remove Programs, restarted the server, and then installed 2.0, 3.0, and 3.5 SP1 to bring it back up to date.  This also included a post 3.5 SP1 patch documented here &lt;a href=&quot;http://go.microsoft.com/fwlink/?LinkId=136730&quot; rel=&quot;nofollow&quot;&gt;KB959209&lt;/a&gt;.  But as soon as we attempted to regenerate a snapshot on one of the publications, the same error occurred.  So to me, none of this .NET framework reinstallation has done any good whatsoever.  I&#039;m opening a case with Microsoft and will post back the results of that endeavor.


-Patrick</description>
		<content:encoded><![CDATA[<p>UPDATE 2:</p>
<p>Well, here we are again.  The reinstallation of .NET 3.5 SP1 did NOT fix this error in Replication.  After that attempt, we decided to take another stab at it by completely unistalling all of the .NET frameworks from the server.  I uninstalled .NET 2.0, 3.0, and 3.5 SP1 via Add/Remove Programs, restarted the server, and then installed 2.0, 3.0, and 3.5 SP1 to bring it back up to date.  This also included a post 3.5 SP1 patch documented here <a href="http://go.microsoft.com/fwlink/?LinkId=136730" rel="nofollow">KB959209</a>.  But as soon as we attempted to regenerate a snapshot on one of the publications, the same error occurred.  So to me, none of this .NET framework reinstallation has done any good whatsoever.  I&#8217;m opening a case with Microsoft and will post back the results of that endeavor.</p>
<p>-Patrick</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Failed to initialize the Common Language Runtime (CLR) v2.0.50727 with HRESULT 0×800 by admin</title>
		<link>http://impactsolutionsonline.com/failed-to-initialize-the-common-language-runtime-clr-v2-0-50727-with-hresult-0x800/comment-page-1#comment-2992</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Sat, 19 Nov 2011 16:31:23 +0000</pubDate>
		<guid isPermaLink="false">http://impactsolutionsonline.com/?p=346#comment-2992</guid>
		<description>UPDATE:

So, quite some time later I decided, after a couple of conversations with Microsoft support and another resource on a support forum, to reinstall the .NET 3.5 SP1 framework on the server affected by this seemingly random CLR error. Only time will tell if this fix works, but I’ll update in a couple months (or sooner if the issue reappears).

      -Patrick</description>
		<content:encoded><![CDATA[<p>UPDATE:</p>
<p>So, quite some time later I decided, after a couple of conversations with Microsoft support and another resource on a support forum, to reinstall the .NET 3.5 SP1 framework on the server affected by this seemingly random CLR error. Only time will tell if this fix works, but I’ll update in a couple months (or sooner if the issue reappears).</p>
<p>      -Patrick</p>
]]></content:encoded>
	</item>
</channel>
</rss>

