Event ID 7004 — 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: | 7004 |
Source: | Microsoft-Windows-WAS-ListenerAdapter |
Version: | 7.5 |
Symbolic Name: | WAS_LA_PROTOCOL_DISABLED |
Message: | Listener Adapter protocol '%1' is unable to connect to Windows Process Activation Service because it has been disabled. Cause: Listener Adapter protocol '%1' has been marked as disabled by Windows Process Activation Service due catastrophic failure. Fix: To fix this condition, stop Listener Adapter then Windows Process Activation Service, restart Windows Process Activation Service, and finally restart Listener Adapter. |
Resolve
Stop the listener adapter and restart WAS
Listener adapters and the Windows Process Activation Service (WAS) work closely together. If a listener adapter experiences catastrophic failure, you will have to end the listener adapter process or service, stop and restart WAS, and then restart the listener. To recover from a failed listener adapter, follow these steps.
To perform these procedures, you must have membership in Administrators, or you must have been delegated the appropriate authority.
Note: In order to prevent exiting code routines from running, it is better to stop a listener adapter service first before trying to end a listener adapter process.
Stop a listener adapter service
To stop a listener adapter service:
- 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 servicename /y where servicename is the name of the listener adapter service.
End a listener adapter process
To end a listener adapter process:
- Open Task Manager. Click Start, Run, type taskmgr, and press ENTER.
- In Task Manager, click the Processes tab.
- Select the listener adapter process and click End Process.
Stop and restart WAS
To stop and restart 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 restart these other services.
- 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.
Restart the listener adapter
To restart the listener adapter:
- Restart the process or service that hosts the listener adapter.
Verify
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, https://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.