An IIS Application Pool Stops and the Site Returns HTTP 503
Before you begin
- Applies to:IIS on Windows Server 2025 when an application returns HTTP 503.
- Where to start:Open IIS Manager for the server serving the failing URL. For graphical checks, use Desktop Experience or an approved Windows management workstation. Use PowerShell 7 or later unless a module requires Windows PowerShell.
- What you need:Record the exact URL and failure time. Have authorized access to IIS, HTTPERR, and application logs.
Guide tools
Troubleshooting Steps
Identify which layer generated the 503
Start hereCompare the browser or proxy request time with IIS access logs and HTTPERR logs if IIS never records the request. Record status, substatus, and the site or pool involved. A proxy can generate its own 503.
Match the application to its pool
Where to click
- Open IIS Manager β Sites and select the affected application.
- Check its assigned pool in Basic Settings, then inspect that pool under Application Pools.
What to look for Β· Record the named pool, state, and identity without collecting its password. Look for shared apps that a recycle or restart would affect.
Read the first startup or crash event
Where to click
- Open Event Viewer β Windows Logs β System and Application.
- Find events just before the pool stopped.
What to look for Β· Compare WAS and worker-process events with Application logs for the first error in the sequence. An identity error calls for account and rights checks. A worker exception calls for the application runtime, configuration, and deployment history.
Apply one supported correction
Correct the confirmed issue with the app owner, such as an invalid identity configuration or a missing approved runtime. Record settings or roll back the last deployment if indicated. Keep protection enabled and start the pool once.
Verify worker health and the original URL
VerifyRepeat the affected request and check that the pool remains started after the normal workload. Confirm IIS logs the expected response and no new WAS or application errors appear.
Decide What to Do Next
| Finding | Next action |
|---|---|
| WAS reports an identity failure | Check the configured account and required rights. |
| Worker repeatedly crashes | Inspect the application exception and recent deployment. |
| Only the proxy logs a 503 | Investigate its upstream route and health checks. |
References
Your feedback keeps these production procedures accurate and battle-tested.