In IIS, why does an application in an application pool always stop and IIS becomes unavailable (503)

I changed my domain password, ran iisreset many times and I came across this problem

The first time my local site was opened, but if I refresh it or click any link on this page (which is also on my local server), I always get a "503 error" error.

And the app belongs to the unavailable site, also stops automatically, even after I manually restarted it. If I tried to restart the application, it said that it could not be started if the WAS (Windows Activation Service) service was not started. But restarting the WAS service did nothing.

Even if I run iisreset, the local website is still only accessible on the first (or second) visit.

Does anyone know how to fix this problem?

PS: My system is Windows 2012 R2, IIS version is 6.2

thank

+3


source to share


2 answers


The request goes to your server, it is picked up by http.sys (part of the IIS kernel), it doesn't know what to do with it, and asks WAS (Windows Activation Service), WAS checks the configuration and numbers outside the website and application pool which will be used for this request. If the pool is not running, it tries to start it. If it cannot start the pool, it falls back to http.sys: "sorry I tried, but I cannot start the pool." At this point, http.sys has no option, but it replies that the service for this request is not available.

If you look at the response header of your failed request, you will most likely see

Server: Microsoft HTTPAPI/2.0

      

but not

Server:Microsoft-IIS/8.5

      



this means that the response is coming from http.sys and not from the user mode portion of IIS.

The HTTPERR log %SystemRoot%\System32\LogFiles\HTTPERR

may contain some useful information.

The request might have been logged in the log file for the site, it might be helpful to know the http subfile code next to 503

.

More often than not, the pool cannot be started due to authentication issues. Double check the identity of the pool. Use the Security Event Log or Process Monitor for troubleshooting .

+2


source


This is a very common problem. One application starts once and then disables AppPool and IIS returns 50x errors.

There is an exception. If you take a look at the Event Viewer I am sure you will get more information on the problem you are having. If you find more information and still need more help, please submit it here.

EDIT:



Note that you can go to your IIS, on websites select your site, then double click on Error Pages on the right (Function View), then right click on Edit Option Settings, Select Details.

In your browser: IE: Tools -> Internet Options -> Advanced -> Show HTTP friendly error messages should be canceled. It can also help debug your problem.

0


source







All Articles