ASP.NET 2.0 web application crashes with Fatal Execution Engine Error (80131506)
My customer is repeatedly seeing the following crash events in the event viewer while running the ASP.NET 2.0 web application on x64 bit machines. This application worked just fine on x32 bit machines.
Event Type: Warning
Event Source: W3SVC
Event Category: None
Event ID: 1011
Description:
A process serving application pool 'ABC' suffered a fatal communication error with the World Wide Web Publishing Service. The process id was '5100'. The data field contains the error number.
Event Type: Error
Event Source: .NET Runtime 2.0 Error Reporting
Event Category: None
Event ID: 1000
Description:
Faulting application w3wp.exe, version 6.0.3790.3959, stamp 45d691cc, faulting module mscorwks.dll, version 2.0.50727.3082, stamp 492b80e2, debug? 0, fault address 0x00000000006cfee9.
Event Type: Error
Event Source: .NET Runtime
Event Category: None
Event ID: 1023
Description:
.NET Runtime version 2.0.50727.3082 - Fatal Execution Engine Error (000006427F44A4EE) (80131506)
SOLUTION
===========
Carlo has already blogged on a similar issue. More details are present at https://blogs.msdn.com/carloc/archive/2009/03/11/fatal-execution-engine-error-on-x64-framework.aspx.
You can collect the crash dumps using adplus (https://support.microsoft.com/kb/286350) and then run the commands used by Carlo in his blog. You can use windbg to run these commands and confirm that the issue is similar in your case. (https://support.microsoft.com/kb/892277)
Please make sure that you are not passing an empty string for parsing to Convert.FromBase64String (or CryptoAPITransform.TransformFinalBlock directly).