HTTP Error 503. The service is unavailable. App pool stops on accessing website
Ok, I have another solution for one specific case: if you use WINDOWS 10, and you updated it recently (with Anniversary Update package) you need to follow the steps below:
- Check your
Windows Event Viewer
- press Win+R and type:eventvwr
, then press ENTER. - On the left side of
Windows Event Viewer
click onWindows Logs
->Application
. - Now you need to find some ERRORS for source
IIS-W3SVC-WP
in middle window. - Probably you will see message like:
The Module DLL >>path-to-DLL<< failed to load. The data is the error.
- You have to go to
Control Panel
->Program and Features
and depending on which dll cannot be load you need to repair another module:- for
rewrite.dll
- find IIS URL Rewrite Module 2 and clickChange
->Repair
- for
aspnetcore.dll
- find Microsoft .NET Core 1.0.0 - VS 2015 Tooling ... and clickChange
->Repair
.
- for
- Restart your computer.
One possible reason this might happen is that the Application Pool in IIS is configured to run under some custom account and this account either doesn't exist or a wrong password has been provided, or the password has been changed. Look at the advanced properties of the Application Pool in IIS for which account it uses.
Also the Event Log might contain more information as to why the Application Pool is stopping immediately on the first request.