Event ID 5142 — 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.
|Product:||Internet Information Services|
|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.|
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:
- Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
- Type cd %Windir%\system32\inetsrv\config
- Type notepad ApplicationHost.config
- In notepad, search for the listenerAdapters section under system.applicationHost.
- Verify the identity for the listener adapter that is failing, and correct any errors.
- 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).
You can use an Internet browser to verify that a protocol adapter is functional by following these steps:
- Select a Web site or application that is configured to respond to the protocol you want to verify.
- 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, http://servername/default.htm
- 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.