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

  1. Click Start, click Control Panel, and then click Administrative Tools.

  2. Right-click Internet Information Services (IIS) Manager and select Run as administrator.

  3. Highlight the Application Pools folder located underneath the computer name in the navigation pane.

  4. Right-click the application pool and select Advanced Settings...

  5. Under Process Model, note the Identity.

  6. 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

  1. Temporarily change the identity type to a value different from the current one.
  2. Click OK to accept the changes.
  3. Click OK to close the Advanced Settings dialog box.

Stop and restart the application pool

  1. Right-click the application pool and select Stop.
  2. Right-click the application pool and select Start.

Restore the original identity

  1. Right-click the application pool and select Advanced Settings...
  2. Set the identity back to the original identity, and make sure username and password are correct if you are using a custom identity.
  3. Click OK to accept the changes.

Stop and restart the application pool

  1. Right-click the application pool and select Stop.
  2. 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:

  1. Click Start, click Control Panel, and then click Administrative Tools.
  2. Right-click Internet Information Services (IIS) Manager and select Run as administrator.
  3. In the Connections pane, expand the server node and select Application Pools.
  4. In Features View, the Status column for the application pool will indicate Started if the application pool has started.

IIS Application Pool Availability

Internet Information Services (IIS) 7.0