I recently started getting an ExecutionEngineException (80131506) when I ran any of the existing ASP.NET applications locally with the asp: ScriptManger tag on the .aspx page.
Error message:
Application: w3wp.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an internal error in the .NET Runtime at IP 00007FFB75209A99 (00007FFB75170000) with exit code 80131506.
This problem arose after updating the Windows 10 Anniversary Update, so I think it might be related, but this is just an assumption.
Here are my current findings:
- This happens in all our existing applications that have the ScriptManager when running locally on my machine. I have not updated many of them for more than a year. and still work fine on other short-lived Windows 10 machines. We have no other developer with the latest updates for Windows 10 to test it.
- I got all the latest windows updates.
- I tried previous versions of applications (just in case)
- I did the repair first, and then uninstalled and reinstalled Visual Studio 2013
- I disabled IIS and .NET and enabled it in Windows features.
- I deleted the asp.net temporary files
- DebugDiag output shows the following:
.NET Call Stack
[[HelperMethodFrame_2OBJ] (System.Reflection.PseudoCustomAttribute._GetSecurityAttributes)] System.Reflection.PseudoCustomAttribute._GetSecurityAttributes (System.Reflection.RuntimeModule, Int32, Boolean, System.Object [] ByRef) mscorlib_ni! System.Reflection.PseudoCustomAttribute.GetCustomAttributes(System.Reflection.RuntimeAssembly, System.RuntimeType, Boolean, Int32 ByRef) + 13b mscorlib_ni! System.Reflection.CustomAttribute.GetCustomAttributes(System.Reflection.RuntimeAssembly, System.RuntimeType) +26 mscorlib_ni! System.Reflection.RuntimeAssembly.GetCustomAttributes(Boolean) +26 System_Web_Extensions_ni! System.Web.UI.AssemblyCache.SafeGetAjaxFrameworkAssemblyAttribute(System.Reflection.ICustomAttributeProvider) + 1f System_Web_Extensions_ni! System.Web.UI.AssemblyCache.GetAjaxFrameworkAssemblyAttribute(System.Reflection.Assembly) + 3e System.Web_Extensions_ni! System.Web.UI.ScriptManager.get_DefaultAjaxFrameworkAssembly() + 181 System_Web_Extensions_ni! System.Web.UI.ScriptManager..ctor() + 1c ASP.includes_donorsearch_ascx.__ BuildControlScriptManager1() + 4e ASP.includes_donorsearch_ascx.__ BuildControlTree (ASP.includes_donorsearch_ascx) +72 ASP.includes_donorsearch_ascx.FrameworkInitialize() + 3c System.Web_ni! System.Web.UI.UserControl.InitializeAsUserControlInternal() + 25 System_Web_ni! System.Web.UI.UserControl.InitializeAsUserControl(System.Web.UI.Page) +14 ASP.donorsearch_aspx.__ BuildControlDonorSearch1() + 87 ASP.donorsearch_aspx.__ BuildControlcontentDefault (System.Web.UI.Control) +68 System_Web_ni! System.Web.UI.CompiledTemplateBuilder.InstantiateIn(System.Web.UI.Control) +10 System_Web_ni! System.Web.UI.MasterPage.InstantiateInContentPlaceHolder(System.Web.UI.Control, System.Web.UI.ITemplate) +59 ASP._primary_master.__ BuildControlprimaryContent() + 114 ASP._primary_master.__ BuildControlform3() + 120 ASP._primary_master.__ BuildControlTree (ASP._primary_master) + ASP._primary_master.FrameworkInitialize() + 3c System.Web_ni! System.Web.UI.UserControl.InitializeAsUserControlInternal() + 25 System_Web_ni! System.Web.UI.MasterPage.CreateMaster(System.Web.UI.TemplateControl, System.Web.HttpContext, System.Web.VirtualPath, System.Collections.IDictionary) + 2a1 System_Web_ni! System.Web.UI.Page.get_Master() + 38 System_Web_ni! System.Web.UI.Page.ApplyMasterPage() + System_Web_ni! System.Web.UI.Page.PerformPreInit() + 34 System_Web_ni! System.Web.UI.Page.ProcessRequestMain(Boolean, Boolean) +129 System_Web_ni! System.Web.UI.Page.ProcessRequest(Boolean, Boolean) +85 System_Web_ni! System.Web.UI.Page.ProcessRequest() + 49 System_Web_ni! System.Web.UI.Page.ProcessRequestWithNoAssert(System.Web.HttpContext) +17 System_Web_ni! System.Web.UI.Page.ProcessRequest(System.Web.HttpContext) + 3b ASP.donorsearch_aspx.ProcessRequest(System.Web.HttpContext) +26 System_Web_ni! System.Web.HttpApplication + CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() + System_Web_ni! System.Web.HttpApplication.ExecuteStep(IExecutionStep, Boolean ByRef) +46 System_Web_ni! System.Web.HttpApplication + PipelineStepManager.ResumeSteps(System.Exception) +427 System_Web_ni! System.Web.HttpApplication.BeginProcessRequestNotification(System.Web.HttpContext, System.AsyncCallback) +60 System_Web_ni! System.Web.HttpRuntime.ProcessRequestNotificationPrivate(System.Web.Hosting.IIS7WorkerRequest, System.Web.HttpContext) + System_Web_ni! System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, Int32) + 32f [[InlinedCallFrame]] System_Web_ni! System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, Int32) + 1f System_Web_ni! DomainNeutralILStubClass.IL_STUB_PInvoke (IntPtr, System.Web.RequestNotificationStatus ByRef) + 3d [[InlinedCallFrame]] System_Web_ni! System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr, IntPtr, IntPtr, Int32) + 4d2 [[InlinedCallFrame]] System_Web_ni! System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr, IntPtr, IntPtr, Int32) + 1f [[ContextTransitionFrame]]
, Ajax ScriptManager.
ASP.includes_donorsearch_ascx.__ BuildControlScriptManager1
- , JetBrains dotTrace, . dotTrace IIS .
, - , Windows 10 Anniversary .
- ? ScriptManger, GC. , .
, , , - ?
.