Share via


Event ID 5142 — IIS Protocol Adapter Availability

Applies To: Windows Server 2008

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: 5142
Source: Microsoft-Windows-WAS
Version: 7.0
Symbolic Name: WAS_PROTOCOL_BAD_IDENTITY
Message: Windows Process Activation Service (WAS) encountered an error trying to determine the correct security identifier (SID) for the listener adapter identity for protocol %1. Because of this error, the service will not be able to allow the listener adapter to connect. To fix this, check and/or modify the identity value for this protocol in the configuration file. WAS was unable to determine the SID for the listener adapter identity for protocol %1. This error will prevent the listener adapter from connecting.

Resolve

Repair the listener adapter identity

The listenerAdapters section in the ApplicationHost.config file defines the protocols with which the Windows Process Activation Service (WAS) binds.

Each listener adapter has a name attribute that contains the name of the protocol that the listener adapter processes, and an identity attribute that contains the account name that is used to help secure communication with the Windows Process Activation Service (WAS). If there is an error in the listener adapter identity, the listener adapter will be unable to communicate with WAS, and the listener adapter will be unable to process requests for the protocol for which it is defined.

To resolve this issue, examine the identity attribute for the listener adapter in the ApplicationHost.config configuration file and repair the identity as needed.

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

To examine and modify the listener adapter identity:

  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. Type cd %Windir%\system32\inetsrv\config
  3. Type notepad ApplicationHost.config
  4. In notepad, search for the listenerAdapters section under system.applicationHost.
  5. Verify the identity for the listener adapter that is failing, and correct any errors.
  6. Save the ApplicationHost.config file, and exit notepad.

For more information about the listenerAdapters section, see IIS 7.0: add Element for listenerAdapters (IIS Settings Schema).

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