为应用程序池提供服务的工作进程报告了一个错误

Microsoft.Windows.InternetInformationServices.2008.Worker.process.serving.an.application.pool.reported.a.failure (Rule)

Knowledge Base article:

Summary

网站和 Web 应用程序都依赖于 Internet Information Services (IIS) 应用程序池的可用性。 IIS 应用程序池反过来又依赖于 Windows Process Activation Service (WAS)。 如果在启动或关闭应用程序池过程中 WAS 没有运行或者出现错误,则网站和 Web 应用程序可能无法使用。

解决方法

可能的解决方法有:

使用调试诊断工具

若要使用调试诊断工具,请参阅文章 如何使用调试诊断工具解决意外停止的 IIS 进程的问题(可能为英文页面)

检查事件日志消息详细信息以查找错误号

若要检查事件日志消息详细信息以查找可以提供更多信息的错误号,请执行以下操作:

了解有关特定错误号的详细信息

若要了解有关特定错误号的详细信息,请执行以下操作:

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.2008.ApplicationPool
CategoryAlert
EnabledTrue
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityNormal
RemotableTrue
Alert Message
为应用程序池提供服务的工作进程报告了一个错误
{0}

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.Server.IIS.2008.WarningAndErrorEventProvider Default
Filter ConditionDetection Microsoft.Windows.InternetInformationServices.2008.ApplicationPool.EventFilter Default
WA WriteAction Microsoft.Windows.Server.IIS.2008.GenerateAlertAction.SuppressedByDescription Default

Source Code:

<Rule ID="Microsoft.Windows.InternetInformationServices.2008.Worker.process.serving.an.application.pool.reported.a.failure" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.InternetInformationServices.2008.ApplicationPool" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.IIS.2008.WarningAndErrorEventProvider">
<LogName>System</LogName>
</DataSource>
</DataSources>
<ConditionDetection ID="Filter" TypeID="Microsoft.Windows.InternetInformationServices.2008.ApplicationPool.EventFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>5039</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-WAS</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Server.IIS.2008.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.2008.Worker.process.serving.an.application.pool.reported.a.failure.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>