Event ID 5118 — IIS WAS Availability

Applies To: Windows Server 2008

The Internet Information Services (IIS) Windows Process Activation Service (WAS) is needed for most Web sites because it supports the World Wide Web Publishing Service (W3SVC), which handles HTTP requests. The WAS Process Manager maps application pools to existing worker processes and spawns new instances of W3SVC to host new application pools as needed. If WAS is not available, most Web sites will not start.

Event Details

Product: Internet Information Services
ID: 5118
Source: Microsoft-Windows-WAS
Version: 7.0
Symbolic Name: WAS_EVENT_WMS_FAILED_TO_DETERMINE_DELETIONS
Message: After recovering from an unexpected termination of the inetinfo process, Windows Process Activation Service (WAS) did not identify records that require deletion from the metadata cache. The data field contains the error number.

Resolve

Stop and restart WAS

Stopping the WAS service will also stop the World Wide Web Publishing Service (W3SVC) if W3SVC is running. Thus, you may also have to start W3SVC.

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

To stop and restart 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

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

To verify that the WAS service is running:

  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. Type sc query was, and press ENTER. WAS is running if the state reported for the service is 4 RUNNING.

IIS WAS Availability

Internet Information Services (IIS) 7.0