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:
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 cd %Windir%\system32\inetsrv\.
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.
Type cd %Windir%\system32\inetsrv\config
Type notepad ApplicationHost.config
In notepad, search for the globalModules section under the system.webServer section.
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.
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:
- 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 server node and select Application Pools.
- In Features View, the Status column for the application pool will indicate Started if the application pool has started.