处理asp:ScriptManager时mscorlib.dll中的ExecutionEngineException(80131506)

Joe*_*Joe 4 asp.net scriptmanager windows-10

我刚刚在.aspx页面中使用asp:ScriptManger标记在本地运行任何现有的ASP.NET应用程序时,刚刚开始获得ExecutionEngineException(80131506).

错误消息是:

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.
Run Code Online (Sandbox Code Playgroud)

这个问题在我获得Windows 10周年更新后开始发生,所以我认为这些可能是相关的,但这只是猜测.

以下是我目前的发现:

  • 它发生在我的所有现有应用程序上,这些应用程序在我的机器上本地运行时具有ScriptManagers.其中许多我没有更新超过一年.并且在其他非Windows 10 Anniversary机器上仍然可以正常工作.我们没有其他开发人员使用最新的Windows 10更新来测试它.
  • 我得到了所有持续的Windows更新
  • 我尝试过以前版本的应用程序(以防万一)
  • 我首先进行了修复,然后卸载并重新安装了Visual Studio 2013
  • 我在Windows功能中关闭了IIS和.NET
  • 我清除了asp.net临时文件
  • DebugDiag输出显示以下内容:

.NET调用堆栈

[[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,布尔的Int32的ByRef)+ 13B mscorlib_ni!System.Reflection.CustomAttribute.GetCustomAttributes(System.Reflection.RuntimeAssembly,System.RuntimeType)+26 mscorlib_ni!System.Reflection.RuntimeAssembly.GetCustomAttributes(布尔) +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.inc ludes_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)+ EF ASP._primary_master.FrameworkInitialize()+ 3C System_Web_ni!System.Web.UI.UserControl.InitializeAsUserControlInternal()+ 25 System_Web_n i!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()+ f 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()+ bd 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)+ bb 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]]

看起来在构建控件ScriptManager期间Ajax回调中发生了错误.

ASP.includes_donorsearch_ascx .__ BuildControlScriptManager1

  • 我还注意到,当我尝试使用JetBrains dotTrace跟踪问题时,没有发生错误.dotTrace关闭IIS服务并直接运行它.

我目前的猜测是,我的机器上的某些东西搞砸了,或者Windows 10周年纪念版引入了这个问题.

谁以前见过这个问题?虽然错误总是发生在ScriptManger中,因为这个错误与GC有关,我想知道问题是否存在于其他地方并且只是在这里出现.

我知道这不是很多,但我认为其他人可能遇到同样的问题?

谢谢.约瑟夫

Lar*_*ens 6

Microsoft在.NET Framework 2017年9月安全和质量汇总中报告了此问题已得到解决

引用:

CLR程序集元数据读取器崩溃.[367294]