Application Pool Fatal Communication Error

Microsoft.Dynamics.CRM.4.0.Application_Pool_Fatal_Communication_Error (Rule)

Knowledge Base article:

Summary

The IIS app pool serving CRM application has experienced unexpected problems and is either terminated, cannot communicate, or doesn't reply to communication requests.

Causes

The IIS app pool serving the CRM may not be running or network conditions may prevent the app pool from replying. Review event log for details that can help identify root cause.

Resolutions

Review the event logs for information about a hardware, software, or security issue that may have caused the problem. Also verify that you can ping the IIS server.

Element properties:

TargetMicrosoft.Dynamics.CRM.4.0.Microsoft_CRM_4_IIS_Servers
CategoryEventCollection
EnabledTrue
Event_ID1011
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
RemotableTrue
Alert Message
Application Pool Fatal Communication Error
{0}
Event LogSystem

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.Dynamics.CRM.4.0.Application_Pool_Fatal_Communication_Error" Enabled="true" Target="Microsoft.Dynamics.CRM.4.0.Microsoft_CRM_4_IIS_Servers" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1011</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>W3SVC</Pattern>
</RegExExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery Type="String">EventDescription</XPathQuery>
</ValueExpression>
<Operator>ContainsSubstring</Operator>
<Pattern>CRMAppPool</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="Health!System.Health.GenerateAlert">
<Priority>2</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="AlertMessageID76b2fa2f47b345129930938b60c0be20"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/LoggingComputer$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>