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.
|Product:||Internet Information Services|
|Message:||The config node '%1' has an invalid value for property '%2'. The configured value '%3' is invalid. The value will default to '%4'.|
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:
Click Start, click Control Panel, and then click Administrative Tools.
Right-click Internet Information Services (IIS) Manager and select Run as administrator.
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.
Provide a valid value for the configuration property specified in the event log message.
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:
- 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, select the computer name.
- The presence of the truncateSize property indicates that this is a logging issue. In Features View, double-click Logging.
- Under Log File Rollover, make sure that Maximum file size (in bytes) is selected.
- If necessary, refer to the IIS Settings Schema article IIS 7.0: Configuring Logging in IIS 7.0 for the possible values.
- Under Maximum file size (in bytes), type a value from 1048576 (1 megabyte) through 4294967295 (4 gigabytes).
- In the Actions pane, click Apply.
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:
- Open Internet Explorer.
- Browse to http://localhost or your Web site's default home page.
- Confirm that the expected page is displayed.
- 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.