Event ID - 5174

Event Id5174
SourceMicrosoft-Windows-WAS
DescriptionThe '%1' '%2' has an invalid value for property '%3'. The configured value '%4' is invalid. The value will default to '%5'.
Event Information According to Microsoft :

Cause :

This event is logged when has an invalid value for property.

Resolution :

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.
  4. Note : The page to which you navigate will depend on the event log message; see the example that follows.
  5. 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 http://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.
Reference LinksEvent ID 5174 from Microsoft-Windows-WAS

Catch threats immediately

We work side-by-side with you to rapidly detect cyberthreats
and thwart attacks before they cause damage.

See what we caught

Did this information help you to resolve the problem?

Yes: My problem was resolved.
No: The information was not helpful / Partially helpful.