Event ID 5187 — IIS Protocol Adapter Configuration

Updated: March 24, 2009

Applies To: Windows Server 2008 R2

yellow

The Windows Process Activation Service (WAS) reads the configuration for a protocol adapter upon startup. Changes to protocol adapter configuration take effect only when the adapter connects with WAS. If errors occur when WAS is using protocol adapter specific configuration, configuration information for the adapter may not be available.

Event Details

Product: Internet Information Services
ID: 5187
Source: Microsoft-Windows-WAS
Version: 7.5
Symbolic Name: WAS_PROTOCOL_EMPTY_NAME
Message: Windows Process Activation Service was unable to create a listener adapter with a blank name '%1'. Please provide a name for your listener adapter protocol. The data field contains the error number.

Resolve

Define protocol name

To define a name for your listener adapter protocol, modify the listenerAdapters section in the ApplicationHost.config file, then restart WAS.

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

Modify the listenerAdapters section in the ApplicationHost.config file

To modify the listenerAdapters section in the ApplicationHost.config file:

  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. Change to the directory C:\WINDOWS\system32\inetsrv\.
  3. Type appcmd add backup backupName to back up the ApplicationHost.config file.

    A directory with the backup name that you specify will be created under the %Windir%\system32\inetsrv\backup directory. If you do not specify a name, appcmd will generate a directory name automatically using the current date and time.

  4. Change the directory to C:\WINDOWS\system32\inetsrv\config
  5. Type notepad ApplicationHost.config.
  6. In notepad, search for the listenerAdapters section under system.applicationHost.
  7. Use the article IIS 7.0: add Element for listenerAdapters (IIS Settings Schema) as a guide to add a name for your listener adapter protocol.
  8. Save and close the ApplicationHost.config file.

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. 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, http://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.

Related Management Information

IIS Protocol Adapter Configuration

Internet Information Services (IIS) 7.5

Community Additions

ADD
Show: