首页 > 解决方案 > IIS 10 灾难性故障(来自 HRESULT 的异常:0x8000FFFF (E_UNEXPECTED))

问题描述

我有一个网站在 Windows Server 2016 中显示“灾难性故障(HRESULT 异常:0x8000FFFF (E_UNEXPECTED))”。该问题仅在 ASP.NET 对来自 Web 浏览器的第一个请求进行初始化时出现。如果您第二次请求该网站,应用程序将最终启动。

尝试以下选项:

还有其他建议来纠正它吗?

Server Error in '/' Application.

Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Runtime.InteropServices.COMException: Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

Source Error: 
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace: 
[COMException (0x8000ffff): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))]

[FileLoadException: Could not load file or assembly 'Microsoft.JScript, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))]
   System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName) +0
   System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +64
   System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark) +58
   System.Type.GetType(String typeName) +50
   System.CodeDom.Compiler.CompilerInfo.get_IsCodeDomProviderTypeValid() +9
   System.Web.Compilation.CompilationUtil.GetRecompilationHash(CompilationSection ps) +2487
   System.Web.Configuration.CompilationSection.get_RecompilationHash() +99
   System.Web.Compilation.BuildManager.CheckTopLevelFilesUpToDate2(StandardDiskBuildResultCache diskCache) +388
   System.Web.Compilation.BuildManager.CheckTopLevelFilesUpToDate(StandardDiskBuildResultCache diskCache) +55
   System.Web.Compilation.BuildManager.PrecompiledAppRuntimeModeInitialize() +220
   System.Web.Compilation.BuildManager.Initialize() +9020121
   System.Web.Compilation.BuildManager.InitializeBuildManager() +267
   System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags) +224

[HttpException (0x80004005): Could not load file or assembly 'Microsoft.JScript, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +8997667
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +85
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +333


Version Information: Microsoft .NET Framework Version:2.0.50727.8745; ASP.NET Version:2.0.50727.8745 

标签: c#asp.netiiswindows-server-2016.net-3.5

解决方案


推荐阅读