title: What to do with "The version of SOS does not match the version of CLR you are debugging" in WinDbg?
body: <p>I'm having a problem with some of my apps. It's a wcf-based app running under IIS6 in Windows 2003 Server (x86):<br>
  In Event Log I get such an error from "W3SVC-WP" source (EventID=2262):  </p>
  
  <pre><code>ISAPI 'C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll' reported itself as unhealthy for the following reason: 'Deadlock detected'.
  </code></pre>
  
  <p>I'm trying figuring out what's going on. I've set up creating dump for Orphan Worker Process as described in this <a href="http://support.microsoft.com/kb/828222/" rel="noreferrer">KB</a>.
  When an deadlock occured a minidump is created.<br>
  Then I take this minidump to try to understand what's happened. Here's I'm stuck.</p>
  
  <p>I run WinDbg x86, open my dump and then:  </p>
  
  <pre><code>0:037&gt; .loadby sos clr
  0:037&gt; .sympath SRV*c:\temp\symbols*http://msdl.microsoft.com/download/symbols
  Symbol search path is: SRV*c:\temp\symbols*http://msdl.microsoft.com/download/symbols
  Expanded Symbol search path is: srv*c:\temp\symbols*http://msdl.microsoft.com/download/symbols
  0:037&gt; !clrstack
  The version of SOS does not match the version of CLR you are debugging.  Please load the matching version of SOS for the version of CLR you are debugging.
  CLR Version: 4.0.30319.1
  SOS Version: 4.0.30319.235
  CLRDLL: C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\mscordacwks.dll:4.0.30319.235 f:8 doesn't match desired version 4.0.30319.01 f:8
  CLRDLL: Loaded DLL c:\temp\symbols\mscordacwks_x86_x86_4.0.30319.01.dll\4BA1D9EF66f000\mscordacwks_x86_x86_4.0.30319.01.dll
  OS Thread Id: 0x690 (37)
  Unable to walk the managed stack. The current thread is likely not a managed thread.
  You can run !threads to get a list of managed threads in the process
  </code></pre>
  
  <p><strong>What to do with this error</strong> - "The version of SOS does not match the version of CLR you are debugging" ?</p>
  
  <p>The same error ("The version of SOS does not match the version of CLR you are debugging") I'm getting when I open the minidump in VS2010.</p>
  
  <p>I've read this post - <a href="http://tech-thinker.com/Forums/tabid/62/forumid/12/postid/471/scope/posts/Default.aspx" rel="noreferrer">http://tech-thinker.com/Forums/tabid/62/forumid/12/postid/471/scope/posts/Default.aspx</a>, and tried installing <a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=26409" rel="noreferrer">KB2518870</a>. It doesn't help.</p>