title: What are the causes and solutions of exception code c0000005 in mscorwks.dll?
body: <p>The exception code C0000005 is thrown from mscorwks.dll when the application is run on Windows Server 2008 R2 launched using test complete. Other platforms (Windows&nbsp;XP, Server 2003 R2, Windows&nbsp;7 32-bit and 64-bit) do not present this exception.</p>
  
  <p>The event log from a single execution has many of the following event with event ID 1023 raised by the .NET Runtime:</p>
  
  <blockquote>
    <p>.NET Runtime version 2.0.50727.4952 - Fatal Execution Engine Error (7383851A) (80131506)</p>
  </blockquote>
  
  <p>The application itself makes use of a <a href="http://en.wikipedia.org/wiki/SOAP" rel="noreferrer">SOAP</a> interface generated by Visual Studio from a <a href="http://en.wikipedia.org/wiki/Web_Services_Description_Language" rel="noreferrer">WSDL</a> file, a COM object with an embedded interop, and is targeting <a href="http://en.wikipedia.org/wiki/.NET_Framework" rel="noreferrer">.NET</a> 4.</p>
  
  <p><em>sfc /scannow</em> was run and found no problems with system files on the affected system.</p>
  
  <p>What troubleshooting can be done to identify a solution?</p>