Event ID 5039 — IIS Application Pool Availability

Applies To: Windows Server 2008 R2

Web sites and Web applications depend on the availability of Internet Information Services (IIS) application pools. IIS application pools in turn depend on the Windows Process Activation Service (WAS). If WAS is not running or errors occur during the startup or shutdown of an application pool, Web sites and Web applications may not be available.

Event Details

Product: Internet Information Services
ID: 5039
Source: Microsoft-Windows-WAS
Version: 7.5
Symbolic Name: WAS_EVENT_WORKER_PROCESS_BAD_HRESULT
Message: A process serving application pool '%1' reported a failure. The process id was '%2'. The data field contains the error number.

Resolve

Diagnose a worker process crash

Possible resolutions include the following:

  • Use the Debug Diagnostics tool to determine the cause of the crash.
  • Examine the event log message details for an error number that can provide additional information about the cause of the error. This error number will be different from the Event ID.

Use the Debug Diagnostics tool

To use the Debug Diagnostics tool:

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

Examine the event log message details for an error number

To examine the event log message details for an error number that can provide additional information:

  1. In the Event Viewer, select the event that you received.
  2. Click the Details tab, then Friendly View.
  3. If a specific error number is available, the words Binary data: should appear.
  4. Below In Words, note the number after the colon.

Learn more about a specific error number

To learn more about a specific error number:

  1. Download the Err.exe utility from the Microsoft Exchange Server Error Code Look-up page.
  2. Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
  3. At the command prompt, navigate to the directory where you downloaded Err.exe. For example, if you downloaded Err.exe to C:\Err, type cd C:\Err.
  4. Type err errornumber to obtain more information about the error. For example, if the specific error number is 80070005, type err 80070005.
  5. In the example in Step 4, the error resolves to ERROR_ACCESS_DENIED, so your next step would be to check for a permissions issue.

Verify

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

To verify that an application pool has started:

  1. Click Start, click Control Panel, and then click Administrative Tools.
  2. Right-click Internet Information Services (IIS) Manager and select Run as administrator.
  3. In the Connections pane, expand the server node and select Application Pools.
  4. In Features View, the Status column for the application pool will indicate Started if the application pool has started.

IIS Application Pool Availability

Internet Information Services (IIS) 7.5