<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>POP QUIZ: SOS not loading properly</title><link>http://blogs.msdn.com/tom/archive/2008/04/08/pop-quiz-sos-not-loading-properly.aspx</link><description>So for this quiz, we are going to be looking at attempting to load sos.dll for the .NET Framework 2.0. We get a dump file, and when we try to run a command on the dump file, we get an error like: So reading this, we see that we should run .cordll -ve</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>POP QUIZ: SOS not loading properly</title><link>http://blogs.msdn.com/tom/archive/2008/04/08/pop-quiz-sos-not-loading-properly.aspx#8369118</link><pubDate>Tue, 08 Apr 2008 16:49:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8369118</guid><dc:creator>DotNetKicks.com</dc:creator><description>&lt;p&gt;You've been kicked (a good thing) - Trackback from DotNetKicks.com&lt;/p&gt;
</description></item><item><title>re: POP QUIZ: SOS not loading properly</title><link>http://blogs.msdn.com/tom/archive/2008/04/08/pop-quiz-sos-not-loading-properly.aspx#8369517</link><pubDate>Tue, 08 Apr 2008 21:04:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8369517</guid><dc:creator>Eber Irigoyen</dc:creator><description>&lt;p&gt;shooting in the dark... you loaded a 64bit dump&lt;/p&gt;</description></item><item><title>re: POP QUIZ: SOS not loading properly</title><link>http://blogs.msdn.com/tom/archive/2008/04/08/pop-quiz-sos-not-loading-properly.aspx#8369544</link><pubDate>Tue, 08 Apr 2008 21:12:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8369544</guid><dc:creator>Christopher_G_Lewis</dc:creator><description>&lt;p&gt;Just from the &amp;quot;x64&amp;quot; in the path I'd suspect a bitness mis-match - 32 bit debugger trying to load x64 SOS. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;No justification from the &amp;quot;.cordll -ve -u -l&amp;quot; command, just a hunch.&lt;/p&gt;</description></item><item><title>re: POP QUIZ: SOS not loading properly</title><link>http://blogs.msdn.com/tom/archive/2008/04/08/pop-quiz-sos-not-loading-properly.aspx#8369776</link><pubDate>Tue, 08 Apr 2008 22:47:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8369776</guid><dc:creator>Josh Coswell</dc:creator><description>&lt;p&gt;This gives me more insight into function of sos.dll&lt;/p&gt;
&lt;p&gt;Josh Coswell&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://riverasp.net"&gt;http://riverasp.net&lt;/a&gt;&lt;/p&gt;</description></item><item><title>re: POP QUIZ: SOS not loading properly</title><link>http://blogs.msdn.com/tom/archive/2008/04/08/pop-quiz-sos-not-loading-properly.aspx#8372228</link><pubDate>Wed, 09 Apr 2008 15:29:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8372228</guid><dc:creator>Bill Menees</dc:creator><description>&lt;P&gt;1. &amp;nbsp;The current machine has a different revision of .NET 2.0 than the machine the dump was taken on. &amp;nbsp;See the following article for a list of some of the .NET 2.0 revisions: &lt;A href="http://blogs.msdn.com/dougste/archive/2007/09/06/version-history-of-the-clr-2-0.aspx" target=_new rel=nofollow&gt;http://blogs.msdn.com/dougste/archive/2007/09/06/version-history-of-the-clr-2-0.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;2. &amp;nbsp;The current machine has revision 1433, which is .NET 2.0 SP1. &amp;nbsp;The dump machine only had revision 926, which was a pre-SP1 hotfix.&lt;/P&gt;
&lt;P&gt;3. &amp;nbsp;DLL description for mscordacwks: Microsoft .NET External Data Access Support&lt;/P&gt;
&lt;P&gt;4. &amp;nbsp;In theory, you can copy the mscordacwks.dll from the dump machine into your local machine's symbol path and rename it to have the architecture and version in the file name. &amp;nbsp;In practice, this only works for me about half the time. &amp;nbsp;The other half I just end up cussing a lot because SOS is so fragile with respect to DLL revisions. &amp;nbsp;:-( &amp;nbsp;I'm hoping you can tell me a procedure that will make these situations debuggable 100% of the time.&lt;/P&gt;
&lt;P&gt;Bill Menees&lt;/P&gt;</description></item><item><title>re: POP QUIZ: SOS not loading properly</title><link>http://blogs.msdn.com/tom/archive/2008/04/08/pop-quiz-sos-not-loading-properly.aspx#8372335</link><pubDate>Wed, 09 Apr 2008 16:22:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8372335</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;Bill, &lt;/p&gt;
&lt;p&gt;I posted the answer. &amp;nbsp;If this doesn't give you enough, I am going to be making another post in the next few days going into more detail of how to get this to work.&lt;/p&gt;
</description></item><item><title>ASP.NET Tips: Getting SOS to work when commands fail</title><link>http://blogs.msdn.com/tom/archive/2008/04/08/pop-quiz-sos-not-loading-properly.aspx#8372995</link><pubDate>Wed, 09 Apr 2008 21:43:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8372995</guid><dc:creator>ASP.NET Debugging</dc:creator><description>&lt;p&gt;So the last quiz asked about a common error message you may see when debugging a dump from .NET on a&lt;/p&gt;
</description></item><item><title>re: POP QUIZ: SOS not loading properly</title><link>http://blogs.msdn.com/tom/archive/2008/04/08/pop-quiz-sos-not-loading-properly.aspx#8373002</link><pubDate>Wed, 09 Apr 2008 21:45:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8373002</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;Bill,&lt;/p&gt;
&lt;p&gt;Check out &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/tom/archive/2008/04/09/asp-net-tips-getting-sos-to-work-when-commands-fail.aspx"&gt;http://blogs.msdn.com/tom/archive/2008/04/09/asp-net-tips-getting-sos-to-work-when-commands-fail.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: POP QUIZ: SOS not loading properly</title><link>http://blogs.msdn.com/tom/archive/2008/04/08/pop-quiz-sos-not-loading-properly.aspx#8375303</link><pubDate>Thu, 10 Apr 2008 19:00:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8375303</guid><dc:creator>Bill Menees</dc:creator><description>&lt;p&gt;Thanks, Tom. &amp;nbsp;I figured out why it wasn't working for me half the time: User Error. &amp;nbsp;When I copied the 1434 version from a Windows 2008 box, I accidentally renamed the file as this:&lt;/p&gt;
&lt;p&gt;mscordacwks.dll_x86_x86_2.0.50727.1434.dll&lt;/p&gt;
&lt;p&gt;But it should have been this:&lt;/p&gt;
&lt;p&gt;mscordacwks_x86_x86_2.0.50727.1434.dll&lt;/p&gt;
&lt;p&gt;without the &amp;quot;.dll&amp;quot; immediately after &amp;quot;mscordacwks&amp;quot;.&lt;/p&gt;
&lt;p&gt;After reading through your articles and still not getting it to work with my existing dll, I decided to step back and look for a simpler explanation for my problem. &amp;nbsp;On a careful redo, I finally noticed my renaming error. &amp;nbsp;Hopefully, I won't make that mistake again. &amp;nbsp;:-)&lt;/p&gt;
&lt;p&gt;Thanks again for providing the blog articles. &amp;nbsp;It's nice to have this stuff documented.&lt;/p&gt;</description></item><item><title>re: POP QUIZ: SOS not loading properly</title><link>http://blogs.msdn.com/tom/archive/2008/04/08/pop-quiz-sos-not-loading-properly.aspx#8375326</link><pubDate>Thu, 10 Apr 2008 19:05:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8375326</guid><dc:creator>Tom</dc:creator><description>&lt;p&gt;that is a very good point Bill. &amp;nbsp;You have to be very careful with the rename or it won't find the correct file.&lt;/p&gt;
</description></item></channel></rss>