与应用程序池关联的作业对象出错

Microsoft.Windows.InternetInformationServices.10.0.Job.object.associated.with.the.application.pool.encountered.an.error (Rule)

Knowledge Base article:

摘要

为确保网站和 Web 应用程序处于隔离状态,必须使用唯一名称配置 Internet Information Services (IIS) 应用程序池并正确配置标识。如果在配置应用程序池时发生错误,则应用程序池可能无法为所分配的网站和 Web 应用程序提供服务

解决方法

停止并重新启动应用程序池

必须定期重新启动应用程序池以便恢复正常操作。由于应用程序池依赖于 Windows Process Activation Service (WAS),因此可能必须重新启动 WAS。如果重新启动 WAS,可能也必须重新启动 WAS 的 World Wide Web 发布服务 (W3SVC),这取决于 WAS。

停止和启动应用程序池:

也可使用以下链接重新启动应用程序池:

回收应用程序池

要停止或重新启动 WAS,请执行以下操作:

要启动 W3SVC,请执行以下操作:

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.10.0.ApplicationPool
CategoryAlert
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

Source Code:

<Rule ID="Microsoft.Windows.InternetInformationServices.10.0.Job.object.associated.with.the.application.pool.encountered.an.error" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.ApplicationPool" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.IIS.10.0.WarningAndErrorEventProvider">
<LogName>System</LogName>
</DataSource>
</DataSources>
<ConditionDetection ID="Filter" TypeID="Microsoft.Windows.InternetInformationServices.10.0.ApplicationPool.EventFilter">
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(5088|5061|5060)$</Pattern>
</RegExExpression>
</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.10.0.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.10.0.Job.object.associated.with.the.application.pool.encountered.an.error.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>