Consider the following scenario.
- You have a computer that is running Windows 10 or Windows Server 2016 that has Internet Information Services (IIS) enabled.
- You upgrade to Windows 10 Version 1709 (Fall Creators Update) or Windows Server 2016 Version 1709.
After the upgrade, some web applications do not start, and they return the following HTTP 503 error message:
Service Unavailable
HTTP Error 503. The service is unavailable.
Also, WAS event 5189 is logged in the event log:
The Windows Process Activation Service failed to generate an application pool config file for application pool '<DefaultAppPool>'. The error type is '5'. To resolve this issue, please ensure that the applicationhost.config file is correct and recommit the last configuration changes made. The data field contains the error number.