2012-07-27 154 views
13

我只是把它放在那里,因为它是Google Zero-resulter,这意味着我赢了奖?IIS Express无法启动

从一个帐户重新安装后无法启动IIS Express 7.5,但我可以在我的其他域帐户下登录。

奇怪的是,它失败的帐户是我的“超级”帐户与本地管理员权限,也是我安装它的帐户。

该错误diprestr.dll不加载梗...

C:\Program Files (x86)\IIS Express>iisexpress.exe /trace:error 
Starting IIS Express ... 
Initializing the W3 Server Started CTC = 2068729 
W3 Server initializing WinSock. CTC = 2068744 
W3 Server WinSock initialized. CTC = 2068744 
W3 Server ThreadPool initialized (ipm has signalled). CTC = 2068744 
Failed to load global module C:\Program Files (x86)\IIS Express\diprestr.dll 
Failed processing with hr = 8007007e 
Error loading global modules. hr = 8007007e 
Terminating W3_SERVER object 
Start listenerChannel http:0 
Initializing the W3 Server Started CTC = 2069774 
W3 Server initializing WinSock. CTC = 2069774 
W3 Server WinSock initialized. CTC = 2069774 
W3 Server ThreadPool initialized (ipm has signalled). CTC = 2069774 
Failed to load global module C:\Program Files (x86)\IIS Express\diprestr.dll 
Failed processing with hr = 8007007e 
Error loading global modules. hr = 8007007e 
Terminating W3_SERVER object 
InitComplete event signalled 
Report ListenerChannel stopped due to failure; ProtocolId:http, ListenerChannelId:0 
Process Model Shutdown called 
Failed to start 'HostedWASStart'. Error = 38246848 
HostableWebCore activation failed. 
Unable to start iisexpress. 

The specified module could not be found. 
For more information about the error, run iisexpress.exe with the tracing switch enabled (/trace:error). 

任何人有任何想法?我会尝试进程监视器并查看。

到目前为止,IIS Express被证明是另一件要学习和出错的东西。

回答

14

检查用户的失败在其个人文件夹中有IISExpress\config文件夹。如果没有,则从IISExpress工作的用户处复制它。这是配置文件/文件夹丢失时的常见错误。

+6

干杯约翰,文件夹在那里,所以我清除任何现有的文件,并解决它!我欠你一杯。 – 2012-07-27 12:22:26

+0

这个答案有助于特定的用户,但不是我..我在哪里可以得到这个文件夹? – Daniel 2013-06-08 18:04:01

+3

这取决于你的操作系统和特定的设置,但通常: - C:\ users \ \ My Documents \ IISExpress \ config – 2013-06-09 09:49:19

21

澄清约翰的评论 - 目录将是类似于C:\users\jmitchell\My Documents\IISExpress\config。我认为约翰是正确的,如果它不存在,你需要创建目录。

或者,该目录可能已经存在,只是损坏。我相信这是我的情况。我以前安装过WebMatrix,但今天遇到了各种各样的问题。卸载IIS Express,Web平台安装程序,WebMatrix和一些SQL Server管理对象,然后重新安装WPI & WebMatrix后,我遇到了这篇文章。

事实上,我的IIS Express来删除上述config目录之后成功运行,然后重新运行C:\Program Files (x86)\IIS Express>iisexpress.exe /trace:error

ONLY在这浪费了2小时我的一天!感谢微软!

+0

这对我有效,谢谢! – 2013-05-24 06:30:54

+0

对我也解决了!谢谢。 – 2014-01-16 15:40:46

+0

这对我有用,谢谢!!!!!!! – Piyey 2015-10-17 15:32:40

-1

此外,您可能需要更改线路

applicationDefaults applicationPool="Clr4IntegratedAppPool" 

applicationDefaults applicationPool="Clr2IntegratedAppPool" 
文件中

...

C:\users\jmitchell\My Documents\IISExpress\config\applicationhost.config 

如果继续得到同样的错误(就像我一样),按照上面的帖子中的说明。这里所要解决的问题是,你没有安装.NET4等等都恢复到使用.NET2

感谢

0

删除它仍然没有工作然后config文件夹后,我跟着 this文章,然后按Ctrl + F5键..所以它确实运行

相关问题