Event ID - 5041

Event Id5041
SourceMicrosoft-Windows-WAS
DescriptionThe '%1' '%2' failed range validation for property '%3'. The configured value '%4' is outside of the range '%5' to '%6'. The value will default to '%7'.
Event Information According to Microsoft :
Cause :
This event is logged when failed range validation for property.
Resolution :
Correct application pool configuration
Correct the application pool configuration as indicated in the event log message. If the problem persists, check the permissions on the ApplicationHost.config file and make sure that all required services are started. In some cases, you may have to stop and restart WAS.
To perform these procedures, you must have membership in Administrators , or you must have been delegated the appropriate authority.
Edit the application pool configuration by using Internet Information Services (IIS) Manager
To edit the application pool configuration:
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, expand the server node and select Application Pools .
4.In Features View , select the application pool you want to configure.
5.In the Actions pane, click Advanced Settings .
6.Correct the application pool configuration as indicated by the event log message.
Stop and restart WAS
To stop and restart WAS:
Note : Stopping WAS will also stop any other services that depend on it, including the World Wide Web Publishing Service (W3SVC). Thus, you may also have to restart W3SVC or other services.
1.Open an elevated Command Prompt window. Click Start , point to All Programs , click Accessories , right-click Command Prompt , and then click Run as administrator .
2.At the command prompt, type net stop was /y .
3.At the command prompt, type net start was .
4.To restart W3SVC, from the command prompt, type net start w3svc . Also, start any other services that were stopped when WAS was shut down.
Verify :
An application pool that is correctly configured will start without incident. To verify that the application pool has started, use the following procedure.
To perform this procedure, you must have membership in Administrators , or you must have been delegated the appropriate authority.
To verify that an application pool has started:
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, expand the server node and select Application Pools .
4.In Features View , the Status column for the application pool will indicate Started if the application pool has started.
Reference LinksEvent ID 5041 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.