IISEXPRESS未能启动,ID为XXX的进程未运行的解决办法

 

解决VS在调试过程中IISEXPRESS未能启动,ID为XXX的进程未运行的解决办法

Module ManagedEngineV4.0_32bit path C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\webengine4.dll从注册中返回

调试启动时IISExpress崩溃

https://blog.csdn.net/weixin_41902841/article/details/79700353

 

先运行:

C:\Program Files\IIS Express>iisexpress.exe /trace:error
查看错误。

再删除config文件后,

再运行,发现ok啦

 

Microsoft Windows [版本 10.0.26100.4349]
(c) Microsoft Corporation。保留所有权利。

C:\Users\74111>C:\Program Files\IIS Express\iisexpress.exe /trace:error
'C:\Program' 不是内部或外部命令,也不是可运行的程序
或批处理文件。

C:\Users\74111>cd C:\Program Files\IIS Express

C:\Program Files\IIS Express>iisexpress.exe /trace:error
Starting IIS Express ...
Initializing the W3 Server Started CTC = 1255546
W3 Server initializing WinSock.  CTC = 1255546
W3 Server WinSock initialized.  CTC = 1255546
W3 Server ThreadPool initialized (ipm has signalled).  CTC = 1255546
Failed processing with hr = c00cee3a
Error loading global modules.  hr = c00cee3a
Terminating W3_SERVER object
Start listenerChannel http:0
Initializing the W3 Server Started CTC = 1256687
W3 Server initializing WinSock.  CTC = 1256687
W3 Server WinSock initialized.  CTC = 1256703
W3 Server ThreadPool initialized (ipm has signalled).  CTC = 1256703
Failed processing with hr = c00cee3a
Error loading global modules.  hr = c00cee3a
Terminating W3_SERVER object
InitComplete event signalled
Process Model Shutdown called
Unable to start iisexpress.

For more information about the error, run iisexpress.exe with the tracing switch enabled (/trace:error).

C:\Program Files\IIS Express>iisexpress.exe /trace:error
Starting IIS Express ...
Initializing the W3 Server Started CTC = 1331218
W3 Server initializing WinSock.  CTC = 1331234
W3 Server WinSock initialized.  CTC = 1331234
W3 Server ThreadPool initialized (ipm has signalled).  CTC = 1331234
Start listenerChannel http:0
Successfully registered URL "http://localhost:8080/" for site "WebSite1" application "/"
Registration completed for site "WebSite1"
AppPool 'Clr4IntegratedAppPool' initialized
InitComplete event signalled
IIS Express is running.
Enter 'Q' to stop IIS Express
Stopping IIS Express ...
Process Model Shutdown called
Stop listenerChannel http:0
Terminating W3_SERVER object
Waiting for all LISTENER_CHANNELS to stop
Waiting for all LISTENER_CHANNELS to stop
Waiting for all LISTENER_CHANNELS to stop
Waiting for all LISTENER_CHANNELS to stop
Waiting for all LISTENER_CHANNELS to stop
Waiting for all LISTENER_CHANNELS to stop
IIS Express stopped.

C:\Program Files\IIS Express>
C:\Program Files\IIS Express>

 或者在installer里面卸载重装

 

posted @ 2025-06-23 16:26  txwtech  阅读(81)  评论(0)    收藏  举报