Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
408 views
in Technique[技术] by (71.8m points)

asp.net - Http错误503服务不可用(HTTP Error 503, the service is unavailable)

I'm really new to setting up web servers in general.

(我一般都很擅长设置Web服务器。)

I've got IIS 8 on Windows 8, and I'm trying to set up a little site locally, while doing some development.

(我在Windows 8上安装了IIS 8,我正在尝试在本地设置一个小站点,同时进行一些开发。)

In IIS I choose Add Site, give a name, points to a location where I have a index.html file (I've tried different locations, latest in a c:\inetpub\wwwroot\test -folder) and otherwise use all default settings.

(在IIS中我选择添加站点,给出一个名称,指向我有一个index.html文件的位置(我尝试了不同的位置,最新的c:\ inetpub \ wwwroot \ test -folder),否则使用所有默认值设置。)

However, when I try to browse to localhost I get

(但是,当我尝试浏览localhost时,我得到了)

HTTP Error 503. The service is unavailable.

(http错误503服务不可用。)

I've verified the pool is started, and I've given IIS_IUSRS Full Control on the target folder

(我已验证池已启动,并且我已在目标文件夹上提供IIS_IUSRS完全控制)

I've search around but not found anything that solved my issue, and there's nothing helpfull in the EventLog or in the C:\Windows\System32\LogFiles\HTTPERR folder

(我一直在搜索,但没有找到解决我问题的任何内容,而且在EventLog或C:\ Windows \ System32 \ LogFiles \ HTTPERR文件夹中没有任何帮助)

Could anyone tell me what's wrong?

(谁能告诉我什么是错的?)

  ask by Andreas translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

It could be that the user identity is outdated, especially if you've tried starting a stopped app pool and the next request again fails.

(可能是用户身份已过时,特别是如果您尝试启动已停止的应用程序池并且下一个请求再次失败。)

In IIS, go to the Application Pools under the Server, then find the correct Application Pool for your web site, and click on it.

(在IIS中,转到“服务器”下的“应用程序池”,然后为您的网站找到正确的应用程序池,并单击它。)

On the Advanced Settings menu to the right, select Identity and change it and enter new user and password.

(在右侧的“高级设置”菜单中,选择“身份”并进行更改并输入新用户和密码。)

Click on your Application Pool again, and select Recycle to restart it.

(再次单击您的应用程序池,然后选择Recycle以重新启动它。)

You can also try looking at the error message in Event Viewer, under Windows Logs, Application, Details tab.

(您还可以尝试在“事件查看器”中的“Windows日志”,“应用程序”,“详细信息”选项卡下查看错误消息。)


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...