SP 安装后 IIS 7.5 上出现 HTTP 错误 503

发布于 2024-10-19 02:26:06 字数 317 浏览 2 评论 0原文

我有 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

无语# 2024-10-26 02:26:06

我遇到了这个问题,结果是 SP1 导致应用程序池上的“加载用户配置文件”设置被设置为“True”,从而导致 IIS 使用没有足够权限的临时用户配置文件。

为了解决这个问题,我采取了以下步骤:

  1. 加载 IIS
  2. 单击应用程序池
  3. 转到高级设置
  4. 向下滚动到“进程模型”部分下的“加载用户配置文件”
  5. 设置为“False”

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:

  1. Load up IIS
  2. Click on Application Pools
  3. Go to Advanced Settings
  4. Scroll down to "Load User Profile" under the "Process Model" section
  5. Set to "False"
靖瑶 2024-10-26 02:26:06

解决方案由squillman 此处提供。

听起来您的应用程序池尚未启动。打开 IIS 管理器并单击“应用程序池”,然后检查“状态”列并确保全部显示“已启动”(或者至少您的 DefaultAppPool 显示“已启动”)。如果尚未启动,请右键单击应用程序池并选择“启动”。如果您收到错误,请告诉我们错误是什么。

The solution is provided here by squillman.

Sounds like your app pool(s) is/are not starting. Open IIS Manager and click on Application Pools, then check the Status column and make sure the all say Started (or at least your DefaultAppPool says Started). If it's not started, right-click on the app pool and choose Start. If you get an error let us know what it is.

虚拟世界 2024-10-26 02:26:06

刚安装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.

妄司 2024-10-26 02:26:06

在命令行中,运行(您可能需要成为管理员)

netsh http show urlacl

如果其中任何一个与您的 IIS 绑定冲突,请使用 netsh http delete urlacl 删除它们。

根据https://superuser.com/a/351628/62691

At the command line, run (you might need to be administrator)

netsh http show urlacl

If any of those conflict with your IIS bindings, delete them with netsh http delete urlacl.

Per https://superuser.com/a/351628/62691

软的没边 2024-10-26 02:26:06

我刚刚为您搜索了事件日志消息,并得到了一个可能的解决方案:

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

墨小沫ゞ 2024-10-26 02:26:06

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文