Share via


Event ID 5183 — IIS HWC Configuration

Applies To: Windows Server 2008 R2

Because the Hosted Web Core (HWC) operates independently of the main IIS configuration store, developers must create their own configuration file that follows the design of ApplicationHost.config. HWC configuration requires that there be only one application pool and at least one Web site.

Event Details

Product: Internet Information Services
ID: 5183
Source: Microsoft-Windows-WAS
Version: 7.5
Symbolic Name: WAS_TOO_MANY_APP_POOLS_DEFINED_HOSTABLE_WEB_CORE
Message: Only one application pool is allowed for the hostable web core instance. The data field contains the error number.

Resolve

Define only one application pool

Hosted Web Core (HWC) configuration requires that there be only one application pool. If you have defined more than one application pool in your custom Hosted Web Core configuration file, follow these steps.

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

To edit a custom HWC configuration file:

  1. Open your custom configuration file in a text editor.
  2. Find the applicationPools section.
  3. Remove all application pool entries except for one.
  4. Save the file and exit the text editor.

Verify

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

To verify that the Hosted Web Core is functioning correctly, follow these steps:

  1. Open Internet Explorer.
  2. Send a request to an application that is running in HWC.
  3. Confirm that the expected page is displayed.
  4. Open the logs for the Web site and make sure 200 OK (request succeeded) is logged for the request that you made. By default, Web site logs are located in the %SystemDrive%\inetpub\logs\LogFiles directory.

Note:  If logging is set to centralized, the log file size will grow over time. The minimum possible (and configurable) log file size is 1 MB.

IIS HWC Configuration

Internet Information Services (IIS) 7.5