Event ID 5179 — IIS WAS Configuration

Applies To: Windows Server 2008

The Internet Information Services (IIS) Windows Process Activation Service (WAS) configuration manager manages configuration for the application pools and protocol adapters that it maintains. If WAS encounters problems when it reads configuration or reacts to configuration change notifications, configuration changes for the entities it manages may not be processed.

Event Details

Product: Internet Information Services
ID: 5179
Source: Microsoft-Windows-WAS
Version: 7.0
Symbolic Name: WAS_BAD_CONFIG_VALUE_ERROR
Message: The config node '%1' has an invalid value for property '%2'. The configured value '%3' is invalid. The value will default to '%4'.

Resolve

Correct a configuration property by using IIS Manager

To resolve this issue, use IIS Manager to change the configuration settings for the property specified in the event log message to a valid value. Valid values for IIS 7.0 configuration can be found online at IIS 7.0: IIS Settings Schema.

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

To edit configuration by using IIS Manager:

  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 IIS Manager, navigate to the configuration page for the property specified in the event log message.

    Note: The page to which you navigate will depend on the event log message; see the example that follows.

  4. Provide a valid value for the configuration property specified in the event log message. 

Configuration example

You receive the following event message:

The 'site' '1' has an invalid value for property 'truncateSize'. The configured value '400' is invalid. The value will default to '20971520'.

To resolve this, follow these steps:

  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. The presence of the truncateSize property indicates that this is a logging issue. In Features View, double-click Logging.
  5. Under Log File Rollover, make sure that Maximum file size (in bytes) is selected.
  6. If necessary, refer to the IIS Settings Schema article IIS 7.0: Configuring Logging in IIS 7.0 for the possible values.
  7. Under Maximum file size (in bytes), type a value from 1048576 (1 megabyte) through 4294967295 (4 gigabytes).
  8. In the Actions pane, click Apply.

Verify

If the Windows Process Activation Service (WAS) is configured correctly, IIS will serve pages successfully.

To confirm that WAS is executing successfully, perform the follow these steps:

  1. Open Internet Explorer.
  2. Browse to https://localhost or your Web site's default home page.
  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 previous request. 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 WAS Configuration

Internet Information Services (IIS) 7.0