アプリケーション プール ID が無効です

Microsoft.Windows.InternetInformationServices.2008.The.identity.of.the.application.pool.is.invalid.Monitor (UnitMonitor)

Knowledge Base article:

[概要]

Web サイトと Web アプリケーションがインターネット インフォメーション サービス (IIS) のアプリケーション プールの可用性に依存しています。さらに、IIS アプリケーション プールが Windows プロセス起動サービス (WAS) に依存しています。WAS が実行されていない場合、またはアプリケーション プールの起動時またはシャットダウン時にエラーが発生した場合、Web サイトと Web アプリケーションが使用できないことがあります。

解決方法

アプリケーション プールを機能させるためには、アプリケーション プール ID を有効なアカウントに設定する必要があります。アプリケーション プール ID には、ビルトインとカスタムの 2 種類があります。ビルトイン アカウントは、NetworkService、LocalService、および LocalSystem です。既定のアカウントは NetworkService です。このアカウントが推奨されます。アプリケーション プール ID をカスタム アカウントに設定した場合、ユーザーの資格情報が有効であることと、ユーザーが IIS_USRS グループのメンバーであることを確認する必要があります。次の手順では、アプリケーション プール ID を設定し、アプリケーション プールを再起動する方法を説明します。

アプリケーション プール ID を設定するには、次の手順に従います。

特定のユーザー (カスタム アカウント) を IIS_USRS グループに追加するには、次の手順に従います。

注意: ユーザーを IIS_USRS グループに追加したら、新しいログオン権限を有効にするために、Web サービスを停止してから再起動する必要があります。この操作により、サーバーへのすべての Web トラフィックが停止します。

ID を IIS_USRS グループに追加しなかった場合は、アプリケーション プールの停止と再起動の手順に進んでください。

Web サービスを停止してから再起動するには、次の手順に従います。

アプリケーション プールを停止して再起動するには、次の手順に従います。

次のリンクを使用してアプリケーション プールを再起動することもできます。

アプリケーション プールのリサイクル

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.2008.ApplicationPool
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.InternetInformationServices.2008.ApplicationPool.EventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
アプリケーション プール ID が無効です
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.2008.The.identity.of.the.application.pool.is.invalid.Monitor" Accessibility="Public" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.InternetInformationServices.2008.ApplicationPool" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.InternetInformationServices.2008.ApplicationPool.EventLogManualReset2StateMonitorType" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.2008.The.identity.of.the.application.pool.is.invalid.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/EventDescription$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="ManualResetEventRaised" MonitorTypeStateID="ManualResetEventRaised" HealthState="Success"/>
<OperationalState ID="ErrorEventRaised" MonitorTypeStateID="ErrorEventRaised" HealthState="Error"/>
</OperationalStates>
<Configuration>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(5021|5057)$</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>
</Configuration>
</UnitMonitor>