Event ID 5164 — IIS Application Pool Availability
Applies To: Windows Server 2008
Web sites and Web applications depend on the availability of Internet Information Services (IIS) application pools. IIS application pools in turn depend on the Windows Process Activation Service (WAS). If WAS is not running or errors occur during the startup or shutdown of an application pool, Web sites and Web applications may not be available.
Event Details
Product: | Internet Information Services |
ID: | 5164 |
Source: | Microsoft-Windows-WAS |
Version: | 7.0 |
Symbolic Name: | WAS_EVENT_FAILED_TO_REQUEST_POOL_IDENTITY_UPDATE_FROM_PROTOCOL |
Message: | Windows Process Activation Service (WAS) was unable to notify protocol %2 about an identity change for application pool %1. This may prevent the worker process or processes in the application pool from processing requests for this protocol. To resolve this issue, change the worker process identity to a new identity and then change it back to the previous identity. The data field contains the error number. |
Resolve
Reset the application pool identity
The Windows Process Activation Service (WAS) requires a valid security identifier (SID) for each application pool worker process so that it can communicate it to the listener adapters. Without the correct SID, the worker process will be unable to process requests. To reset the worker process identity, perform these steps.
To perform these procedures, you must have membership in Administrators, or you must have been delegated the appropriate authority.
Note the current identity type
Click Start, click Control Panel, and then click Administrative Tools.
Right-click Internet Information Services (IIS) Manager and select Run as administrator.
Highlight the Application Pools folder located underneath the computer name in the navigation pane.
Right-click the application pool and select Advanced Settings...
Under Process Model, note the Identity.
Click … to the right of the identity name to verify the identity type.
Note: There are two types of identity for application pools: Built-in and Custom. The built-in accounts are NetworkService, LocalService, and LocalSystem. The default (recommended) is NetworkService.
Temporarily change the identity type
- Temporarily change the identity type to a value different from the current one.
- Click OK to accept the changes.
- Click OK to close the Advanced Settings dialog box.
Stop and restart the application pool
- Right-click the application pool and select Stop.
- Right-click the application pool and select Start.
Restore the original identity
- Right-click the application pool and select Advanced Settings...
- Set the identity back to the original identity, and make sure username and password are correct if you are using a custom identity.
- Click OK to accept the changes.
Stop and restart the application pool
- Right-click the application pool and select Stop.
- Right-click the application pool and select Start.
Verify
To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.
To verify that an application pool has started:
- Click Start, click Control Panel, and then click Administrative Tools.
- Right-click Internet Information Services (IIS) Manager and select Run as administrator.
- In the Connections pane, expand the server node and select Application Pools.
- In Features View, the Status column for the application pool will indicate Started if the application pool has started.