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 configuration can be found online at IIS 7: IIS Settings Schema.
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.
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:
-
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: Configuring Logging in IIS 7 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.
|