Share via


Event ID 5138 — IIS Protocol Adapter Availability

Applies To: Windows Server 2008 R2

An Internet Information Services (IIS) Web server responds to requests on a given protocol by using a listener adapter. The protocol-specific listener adapter communicates with the Windows Process Activation Service (WAS) by means of a protocol adapter. If an error occurs when WAS communicates with the listener adapter through the protocol adapter, the Web server may be unable to respond to requests on the given protocol.

Event Details

Product: Internet Information Services
ID: 5138
Source: Microsoft-Windows-WAS
Version: 7.5
Symbolic Name: WAS_EVENT_REQUEST_QUEUE_FAILED_TO_STOP
Message: A worker process '%2' serving application pool '%1' failed to stop a listener channel for protocol '%4' in the allotted time. 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 click Application Pools.
  4. On the Application Pools page, select the application pool you want to stop and start.
  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 or restart WAS

To stop or restart WAS:

  1. Click Start, right-click Computer, and then select Manage.
  2. In Server Manager, expand Configuration.
  3. Click Services and locate Windows Process Activation Service in the list of services.
  4. To stop WAS, right-click Windows Process Activation Service and select Stop.
  5. To start WAS, right-click Windows Process Activation Service and select Start.

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. At the command prompt, type net start w3svc.

Verify

You can use an Internet browser to verify that a protocol adapter is functional by following these steps:

  1. Select a Web site or application that is configured to respond to the protocol you want to verify.
  2. In the address bar of your browser, type a protocol-specific request to the Web site or applications that you chose in step 1. For example, https://servername/default.htm
  3. If the protocol adapter is working, your browser client should display the expected output page.

Note: If the protocol adapter is from a third party, refer to the documentation for the adapter. The documentation may have  specific steps that explain how to verify the state of the service or process that hosts the protocol adapter.

IIS Protocol Adapter Availability

Internet Information Services (IIS) 7.5