首页 > 解决方案 > IIS Express 无法运行 - UlInitialize 中的错误 (rc=800703f1)

问题描述

我突然无法使用 IIS Express 在 Visual Studio 2017 中调试任何东西。

症状

在 VS2017 中调试时,输出窗口立即显示以下消息。

程序“[13980] iisexpress.exe”已退出,代码为 0 (0x0)。

通过命令提示符运行 IIS: "C:\Program Files (x86)\IIS Express\iisexpress.exe" /port:50896 /path:"C:\Users\XXXXXXX\Documents\Visual Studio 2017\Projects\BT\ManageOIC\EnterpriseMedicalReportTool\\" /trace:error

UlInitialize 中的错误 (rc=800703f1)。退出初始化 ULATQ 时出错。小时 = 800703f1

Copied template config file 'C:\Program Files (x86)\IIS Express\AppServer\applicationhost.config' to 'C:\Users\XXXXX~1\AppData\Local\Temp\iisexpress\applicationhost2018111183214194.config'
Updated configuration file 'C:\Users\XXXXX~1\AppData\Local\Temp\iisexpress\applicationhost2018111183214194.config' with given cmd line info.
Starting IIS Express ...
Initializing the W3 Server Started CTC = 3184968
W3 Server initializing WinSock.  CTC = 3184968
W3 Server WinSock initialized.  CTC = 3184968
W3 Server ThreadPool initialized (ipm has signalled).  CTC = 3184968
Start listenerChannel http:0
Error (rc=800703f1) in UlInitialize. Exiting
Error initializing ULATQ.  hr = 800703f1
Terminating W3_SERVER object
InitComplete event signalled
Process Model Shutdown called
Unable to start iisexpress.

The configuration registry database is corrupt.
For more information about the error, run iisexpress.exe with the tracing switch enabled**(/trace:error). 

在事件查看器中,记录了以下错误:

The worker process for app pool 'IISExpressAppPool', PID='4504', failed to initialize the http.sys communication when asked to start processing http requests and therefore will be considered ill by W3SVC and terminated.  The data field contains the error number.

数据字段: 800703F1 - Err.exe 表明这可能是注册表问题。

我试过的

标签: visual-studioiisiis-express

解决方案


推荐阅读