Unexpected Application pool failure: A failure was encountered while launching the process serving the application pool. The application pool has been disabled.

Unexpected_Application_pool_failure__A_failure_was_encountered_while_launching_the_process_serving_the_application_pool__The_application_pool_has_been_disabled__3_Rule.Monitor (UnitMonitor)

Knowledge Base article:

Summary

The application pool has been automatically stopped.

Causes

A failure was encountered while launching the worker process for the application pool.

Resolutions

Look in the Application event log for events and information related to the application pool failure. The Application event log can be viewed through the Event Viewer snap-in which can be found in the Computer Management console. The following task will start the Computer Management console:

Start Computer Management Console

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
Unexpected Application pool failure A failure was encountered while launching the process serving the application pool The application pool has been disabled
{0}
RunAsDefault
CommentMom2005ID='{CF11F6BD-FA4A-48CB-BB24-78152D80F61A}'

Source Code:

<UnitMonitor ID="Unexpected_Application_pool_failure__A_failure_was_encountered_while_launching_the_process_serving_the_application_pool__The_application_pool_has_been_disabled__3_Rule.Monitor" Comment="Mom2005ID='{CF11F6BD-FA4A-48CB-BB24-78152D80F61A}'" Accessibility="Public" Enabled="onEssentialMonitoring" 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="Unexpected_Application_pool_failure__A_failure_was_encountered_while_launching_the_process_serving_the_application_pool__The_application_pool_has_been_disabled__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>1059</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>