Event ID 2294 — IIS Worker Process Availability

Applies To: Windows Server 2008 R2

Internet Information Services (IIS) worker processes serve an application pool and can be in a starting, running, stopping, or unknown state. In IIS 7.0 and IIS 7.5, worker processes are managed by WAS (the Windows Process Activation Service). If a worker process fails to respond, it may be recycled by WAS.

Event Details

Product: Internet Information Services
ID: 2294
Source: Microsoft-Windows-IIS-W3SVC-WP
Version: 7.5
Symbolic Name: W3_EVENT_W3WPHOST_FAILED_LOAD_CLR
Message: The worker process failed to pre-load .Net Runtime version %1.

Resolve

Check managed runtime version

Each application pool has a managedRuntimeVersion attribute that contains the version of the common language runtime (CLR) that the application pool preloads. If the value in the attribute does not match the installed runtime, the worker process may fail to load.

To resolve this issue, check the value of the managedRuntimeVersion attribute for the application pool by performing the following steps.

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

To change the application pool managedRuntimeVersion attribute:

  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 computer node, then select the Application Pools folder underneath the computer name.
  4. In Features View, select the application pool that you want to configure. In the Actions pane, select Advanced Settings.
  5. Under General, verify the value for .NET Framework Version. The default is v2.0.
  6. Edit the version number to match the installed version reported in the event log message, then click OK.
  7. After the managedRuntimeVersion attribute has been changed, IIS will recycle the application pool and load the newly specified framework version for the application pool.

Verify

You can use a browser client and IIS Manager to verify that an application pool worker process has started.

Note:  An IIS worker process does not exist until a request is made to the application pool for the Web application. For this reason, you may have to test browse the Web application before you can verify that a worker process is functional.

Test browse the application

To test browse the application:

  1. Open up your default browser or required client.
  2. Browse to the Web site or application whose worker process you want to test. The client should display the expected output page.

Verify that an application pool worker process is running

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 worker process is running:

  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, select the computer name.
  4. In Features View, under the Feature Name column heading, double-click the Worker Processes management feature. A list of currently active application pools and worker processes will appear.
  5. The State column for the worker process will indicate Running if the worker process is running.
  6. You can also view currently executing requests by right-clicking the application pool name or worker process id and selecting View Current Requests.

IIS Worker Process Availability

Internet Information Services (IIS) 7.5