다음을 통해 공유


Event ID 2297 — IIS Application Pool Availability

Applies To: Windows Server 2008

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: 2297
Source: Microsoft-Windows-IIS-W3SVC-WP
Version: 7.0
Symbolic Name: W3_EVENT_IISCORE_ERROR_READ_CONFIG
Message: The worker process for application pool '%1' encountered an error '%2' trying to read global module configuration data from file '%3', line number '%4'. Worker process startup aborted.

Resolve

Configure the globalModules section in ApplicationHost.config

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

To configure the globalModules section in ApplicationHost.config:

  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 cd %Windir%\system32\inetsrv\.

  3. Type appcmd add backup backupName to back up the ApplicationHost.config file.

    A directory with the backup name that you specify will be created under the %Windir%\system32\inetsrv\backup directory. If you do not specify a name, appcmd will generate a directory name automatically using the current date and time.

  4. Type cd %Windir%\system32\inetsrv\config

  5. Type notepad ApplicationHost.config

  6. In notepad, search for the globalModules section under the system.webServer section.

  7. Use the article IIS 7.0: globalModules Element (IIS Settings Schema) as a guide to correct the globalModules section configuration error in the ApplicationHost.config file.

  8. Save and close the ApplicationHost.config file.

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.0