Event ID 5146 — 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: 5146
Source: Microsoft-Windows-WAS
Version: 7.0
Symbolic Name: WAS_EVENT_FAILED_TO_REQUEST_CREATE_POOL_FROM_PROTOCOL
Message: Application pool %1 has been disabled. The request from protocol %2 to create the application pool failed. Restart the application pool so that Windows Process Activation Service (WAS) can determine the correct state of the protocol. The data field contains the error number.

Resolve

Stop and restart the application pool

Application pools occasionally need to be restarted in order to return to normal operation. Because application pools depend on the Windows Process Activation Service (WAS), you may have to restart WAS. If you restart WAS, you may also have to restart the World Wide Web Publishing Service (W3SVC), which depends on WAS.

To perform these procedures, you must have membership in Administrators, or you must have been delegated the appropriate authority.

Stop and start the application pool

To stop and start the application pool:

  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, select the application pool you want to start or stop.

  5. In the Actions pane, do one of the following:

  6. Click Stop to stop the application pool.

  7. Click Start to start the application pool.

Stop and start WAS

To stop and start WAS:

  1. Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
  2. From the command prompt, type net stop was.
  3. From the command prompt, type net start was.

Start the W3SVC

To start the W3SVC:

  1. Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
  2. From the command prompt, type net start w3svc.

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