HTTP Error 503 on IIS 7.5 after SP Install

回眸只為那壹抹淺笑 提交于 2020-01-02 01:51:05

问题


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.


回答1:


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"



回答2:


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.




回答3:


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.




回答4:


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




回答5:


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




回答6:


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.



来源:https://stackoverflow.com/questions/5115442/http-error-503-on-iis-7-5-after-sp-install

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!