SP 安装后 IIS 7.5 上出现 HTTP 错误 503
我有 Windows 7 专业版 32 位,安装并配置了 IIS 7.5。我安装了 Win 7 的 SP1,从那时起 IIS 就不再工作了。即使对于像 localhost/a.htm 这样的简单查询(其中 a.htm 是 c:\inetpub\wwwroot 下的一个 html 文件)也会导致错误:
HTTP Error 503. The service is unavailable.
IIS 在 SP1 之前工作正常(我有很多 ASP.NET2 /.NET 4应用程序就可以了)。我卸载了SP1,还是这样。我应该怎么办?
谢谢。
I have Windows 7 professional 32-bit with IIS 7.5 installed and configured. I installed the SP1 for Win 7 and since then the IIS is no more working. Even for simple queries like localhost/a.htm (where a.htm is a html file inside under c:\inetpub\wwwroot) leads me to the error:
HTTP Error 503. The service is unavailable.
The IIS worked fine up to SP1 (I have a lot of ASP.NET2/.NET 4 applications on it). I uninstalled the SP1, the same happens. What should I do?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
我遇到了这个问题,结果是 SP1 导致应用程序池上的“加载用户配置文件”设置被设置为“True”,从而导致 IIS 使用没有足够权限的临时用户配置文件。
为了解决这个问题,我采取了以下步骤:
I had this issue and it turned out to be that SP1 causes the "Load User Profile" setting on your Application Pools to be set to "True" causing IIS to use a Temp User Profile that doesn't have sufficient permissions.
To fix it I took the following steps:
解决方案由squillman 此处提供。
The solution is provided here by squillman.
刚安装Win7 SP1后也遇到同样的问题。我的例子中的问题是 Skype:它正在侦听端口 80 和 443,从而阻止 IIS。告诉 Skype 不要这样做(在“设置”|“高级”|“连接”中有一个复选框),我的网站又恢复正常了。
我不知道Skype忘记该设置和安装SP1(除了同时发生)之间有什么关系。
Just had the same problem after Win7 SP1 got installed. The problem in my case was Skype: that was listening in on ports 80 and 443 and thus blocking IIS. Told Skype not to do that (there is a checkbox for that in Settings | Advanced | Connection) and my sites worked again.
What the relation is between Skype forgetting that setting and the installation of SP1 (other than it happening at the same time) I don't know.
在命令行中,运行(您可能需要成为管理员)
如果其中任何一个与您的 IIS 绑定冲突,请使用
netsh http delete urlacl
删除它们。根据https://superuser.com/a/351628/62691
At the command line, run (you might need to be administrator)
If any of those conflict with your IIS bindings, delete them with
netsh http delete urlacl
.Per https://superuser.com/a/351628/62691
我刚刚为您搜索了事件日志消息,并得到了一个可能的解决方案:
I just googled the eventlog message for you and got this as a posible solution:
http://social.technet.microsoft.com/Forums/en/w7itpronetworking/thread/932e85c6-b141-4bc5-8be7-daa7e0ff714b
andyvidual提供的解决方案没有帮助。我意识到默认应用程序池已停止。当我启动它时,错误消失了,我可以显示 issstart.htm。然后我检查了默认应用程序池设置,并注意到加载用户配置文件为“TRUE”。我将其更改为“FALSE”,但 503 错误没有出现。我猜这是停止的池造成的。
The solution provided by andyvidual did not help. I realized that the default application pool had stopped. When I started it the error went away and I could display the issstart.htm. Then I checked the default app pool settings and noted that the Load User Profile was 'TRUE'. I changed it to 'FALSE' but the 503 error did not come back. I guess it is the stopped pool that was responsible.