Event ID 5187 — IIS Protocol Adapter Configuration
Applies To: Windows Server 2008 R2
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.
|Product:||Internet Information Services|
|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.|
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:
Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
Change to the directory C:\WINDOWS\system32\inetsrv\.
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.
Change the directory to C:\WINDOWS\system32\inetsrv\config
Type notepad ApplicationHost.config.
In notepad, search for the listenerAdapters section under system.applicationHost.
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.
Save and close the ApplicationHost.config file.
Stop and start WAS
To stop and start WAS:
- Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
- At the command prompt, type net stop was /y.
- At the command prompt, type net start was.
- To restart W3SVC, from the command prompt, type net start w3svc. Also, start any other services that were stopped when WAS was shut down.
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.