與應用程式集區相關聯的工作物件發生錯誤

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 處理序啟用服務 (WAS),因此您可能必須重新啟動 WAS。若您重新啟動 WAS,則可能也必須重新啟動相依於 WAS 的 World Wide Web Publishing 服務 (W3SVC)。

停止及啟動應用程式集區:

您也可以使用以下連結來重新啟動應用程式集區:

回收應用程式集區

啟動或重新啟動 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>