Share via


Event ID 5140 — 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: 5140
Source: Microsoft-Windows-WAS
Version: 7.5
Symbolic Name: WAS_PROTOCOL_DISABLED
Message: Windows Process Activation Service (WAS) disabled protocol %1 because WAS received bad data about the protocol. To re-enable the protocol, resolve the issue and recycle WAS.

Resolve

Stop and start WAS

Stopping the WAS service will also stop the World Wide Web Publishing Service (W3SVC) and any other services that depend on WAS. Thus, you may also have to start these other services.

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

To stop and restart 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. At the command prompt, type net stop was /y.
  3. At the command prompt, type net start was.
  4. To restart W3SVC, from the command prompt, type net start w3svc. Also, start any other services that were stopped when WAS was shut down.

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