Application pool configuration related failure: The World Wide Web Publishing Service failed to record the proper state of the Application pool.

Application_pool_configuration_related_failure__The_World_Wide_Web_Publishing_Service_failed_to_record_the_proper_state_of_the_Application_pool__3_Rule.Monitor (UnitMonitor)

Knowledge Base article:

Summary

The application pool’s proper AppPoolState and Win32Error have not been recorded properly.

Causes

The WWW Publishing Service encountered an error when attempting to set the application pool’s AppPoolState and Win32Error properties.

Resolutions

To resolve this issue execute the following steps:

Stop and restart the application pool using the following tasks:

Stop Application Pool

Start Application Pool

Alternatively, the Web Server (W3SVC) service can be stopped and restarted using the Internet Information Services Manager. This can be accessed by using the following task:

Start Computer Management Console

This method will inherently restart all Application Pools.

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.2003.ApplicationPool
Parent MonitorSystem.Health.ConfigurationState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityLow
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.SingleEventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Application pool configuration related failure The World Wide Web Publishing Service failed to record the proper state of the Application pool
{0}
RunAsDefault
CommentMom2005ID='{8ABE0118-7AB7-41D4-AE3E-4519898832B4}'

Source Code:

<UnitMonitor ID="Application_pool_configuration_related_failure__The_World_Wide_Web_Publishing_Service_failed_to_record_the_proper_state_of_the_Application_pool__3_Rule.Monitor" Comment="Mom2005ID='{8ABE0118-7AB7-41D4-AE3E-4519898832B4}'" Accessibility="Public" Enabled="onStandardMonitoring" Target="Microsoft.Windows.InternetInformationServices.2003.ApplicationPool" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.SingleEventLogManualReset2StateMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Application_pool_configuration_related_failure__The_World_Wide_Web_Publishing_Service_failed_to_record_the_proper_state_of_the_Application_pool__3_Rule.Monitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Low</AlertPriority>
<AlertSeverity>Warning</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ManualReset" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
<OperationalState ID="ConfigError" MonitorTypeStateID="EventRaised" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1069</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>W3SVC</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Params/Param[1]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Property[Type="IISCommon!Microsoft.Windows.InternetInformationServices.ApplicationPool"]/PoolID$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>