Witryna sieci Web jest skonfigurowana do korzystania z niewłaściwej puli aplikacji

Microsoft.Windows.InternetInformationServices.10.0.WebSite.InvalidApplicationPool.Monitor (UnitMonitor)

Knowledge Base article:

Podsumowanie

Dostępność witryn sieci Web działających w oparciu o internetowe usługi informacyjne (IIS) i korzystających z protokołu HTTP jest uzależniona od niektórych ważnych składników usług IIS. Prawidłowo musi działać usługa aktywacji procesów systemu Windows (WAS), usługa publikowania w sieci World Wide Web (W3SVC) i usługa HTTP. Ponadto dla aplikacji witryny sieci Web musi być dostępna prawidłowo działająca pula aplikacji. Jeśli którykolwiek z tych składników nie działa, witryna sieci Web nie będzie dostępna.

Rozwiązania

Ustaw prawidłową pulę aplikacji

Aby skonfigurować prawidłową pulę aplikacji dla witryny sieci Web:

Można także uruchomić witrynę za pomocą poniższego łącza:

Uruchomienie witryny sieci Web

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.10.0.WebSite
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.InternetInformationServices.10.0.WebSite.EventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Witryna sieci Web jest skonfigurowana do korzystania z niewłaściwej puli aplikacji
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.10.0.WebSite.InvalidApplicationPool.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.WebSite" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.InternetInformationServices.10.0.WebSite.EventLogManualReset2StateMonitorType" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.10.0.WebSite.InvalidApplicationPool.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>
<Or>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>5055</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>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1044</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-IIS-W3SVC</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Or>
</Expression>
</Configuration>
</UnitMonitor>