Event ID 1168 — IIS Web Site Availability
Applies To: Windows Server 2008 R2
Internet Information Services (IIS) Web sites that use HTTP rely on several important IIS components for their availability. The Windows Process Activation Service (WAS), the World Wide Publishing Service (W3SVC), the HTTP service, all must be running correctly. In addition, a properly running application pool must be available for the Web site’s applications. If any of these components is not functioning, the Web site will not be available.
Event Details
Product: | Internet Information Services |
ID: | 1168 |
Source: | Microsoft-Windows-IIS-W3SVC |
Version: | 7.5 |
Symbolic Name: | W3SVC_FAILED_TO_RELATE_HTTP_PROTOCOL_TO_APP |
Message: | The World Wide Web Publishing Service (WWW Service) did not create a relationship between %1 and application %2 in site %3. The site will be stopped because the WWW Service cannot notify HTTP.sys about the application. The data field contains the error number. |
Resolve
Stop and restart WAS and HTTP
Stopping and starting the HTTP service and the Windows Process Activation Service will shut down the World Wide Web Publishing service (W3SVC). All Web traffic to the server will stop while these services are down.
To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.
To stop and restart WAS and the HTTP 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.
- Type net stop HTTP /y.
- Type net stop WAS /y.
- Type net start w3svc. This will also start WAS and the HTTP Service.
- To restart W3SVC, from the command prompt, type net start w3svc. Also, start any other services that were stopped when HTTP and WAS were shut down.
Verify
To verify that a Web site is started, you can use either IIS Manager or the appcmd command line utility.
To perform these procedures, you must have membership in Administrators, or you must have been delegated the appropriate authority.
To verify that the Web site is started by using the appcmd command line utility:
- 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 the directory to %SystemDrive%\Windows\System32\inetsrv.
- Run the following command: appcmd.exe list site -site.name:"Site Name". If the Web site is started, the output will resemble the following:
SITE "Default Web Site" (id:1,bindings:http/*:80:,state:Started)
To verify that the Web site is started by using IIS Manager:
- Click Start, click Control Panel, and then click Administrative Tools.
- Right-click Internet Information Services (IIS) Manager and select Run as administrator.
- In the Connections pane, expand the computer name.
- In the Connections pane, click the Sites node.
- In Features View, look for the Web site name. The Web site status will be indicated under the Status column. If the Web site is started and is using the HTTP protocol, Started(http) will appear.