NET Runtime Optimization Service mscorsvw.exe, version: 4.0.30319.1 Faults - by Shelvin Datt

Status : 

  Won't Fix<br /><br />
		Due to several factors the product team decided to focus its efforts on other items.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 685595 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 8/25/2011 5:18:04 AM
Access Restriction Public


.NET Runtime Optimization Service (clr_optimization_v4.0.30319_32) - Failed to compile: System.IdentityModel, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089 . Error code = 0x800706be 

.NET Runtime version 2.0.50727.5446 - Fatal Execution Engine Error (797CEA52) (80131506)

Faulting application name: mscorsvw.exe, version: 4.0.30319.1, time stamp: 0x4ba1da21
Faulting module name: mscorwks.dll, version: 2.0.50727.5446, time stamp: 0x4d8cdc73
Exception code: 0xc0000005
Fault offset: 0x00003fa4
Faulting process id: 0x%9
Faulting application start time: 0x%10
Faulting application path: %11
Faulting module path: %12
Report Id: %13

Sign in to post a comment.
Posted by Shelvin Datt on 9/1/2011 at 8:31 AM
Thank you,
The problem has not represent itself again.

Have run the C:\Windows\Microsoft.NET\Framework\v4.0.30319\ngen.exe update /force
to see if this will help in the future.

Kind Regards,
Posted by Microsoft on 8/31/2011 at 4:51 PM
Hi Shelvin,

Thank you for reporting this issue to us. This type of error is generally caused by corruptions in the files generated by the .NET Runtime Optimization Service (also known as NGen). To help me better understand the error, could you please send me a copy of the following two files:


To fix this problem, please try running the following command from an elevated command prompt window:

    C:\Windows\Microsoft.NET\Framework\v4.0.30319\ngen.exe update /force

I'd appreciate if you let me know if this command actually resolves this problem or not.

John Chen
Common Language Runtime
Posted by EricLeong [Feedback Moderator] on 8/26/2011 at 2:45 AM
Thank you for submitting feedback on Visual Studio 2010 and .NET Framework. Your issue has been routed to the appropriate VS development team for review. We will contact you if we require any additional information.
Posted by MS-Moderator01 on 8/25/2011 at 5:41 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(