– HTTP Error 503, the service is unavailable – HTTP Error 503, the service is unavailable

It could be that the user identity is outdated, especially if youve 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. 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.

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

Other answers are fine. But in my case, I was working on a Windows box that already was running some old IIS, IISExpress or any other web site. What happened is urls ACLs where reserved somehow in the system. So, you might want to check this.

Here is the console command to dump all URL acls:

netsh http show urlacl

Check whats returned here, and if anything matches the url you are testing, here is the command to delete one URL acl (for example):

netsh http delete urlacl url=http://localhost:2018/

(beware to carefully note what you do here in case it was not related to the original problem) – HTTP Error 503, the service is unavailable

In my case the problem was the DefaultAppPool. I changed the Load User Profile to false and now it works. However, I dont know if there are side effects to this.

Leave a Reply

Your email address will not be published.