Der Windows-Prozessaktivierungsdienst (WAS) konnte die Website nicht erstellen

Microsoft.Windows.InternetInformationServices.10.0.WebSite.WAS.Did.Not.Create.Site.Monitor (UnitMonitor)

Knowledge Base article:

Zusammenfassung

Internetinformationsdienste (IIS)-Websites, die HTTP verwenden, vertrauen in Bezug auf ihre Verfügbarkeit auf mehrere wichtige IIS-Komponenten. Der Windows-Prozessaktivierungsdienst (WAS), der WWW-Publishingdienst (W3SVC) und der HTTP-Dienst müssen korrekt ausgeführt werden. Außerdem muss für die Anwendungen der Website ein ordnungsgemäß ausgeführter Anwendungspool verfügbar sein. Wenn eine dieser Komponenten nicht funktioniert, ist die Website nicht verfügbar.

Lösungen

Beenden und Neustart von WAS

Beim Beenden von WAS werden auch der WWW-Publishingdienst (W3SVC) und andere Dienste beendet, die von WAS abhängig sind. Daher müssen Sie ggf. auch diese anderen Dienste neu starten.

So können Sie WAS beenden und neu starten

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
Der Windows-Prozessaktivierungsdienst (WAS) konnte die Website nicht erstellen
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.10.0.WebSite.WAS.Did.Not.Create.Site.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.WAS.Did.Not.Create.Site.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>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>5102</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>
</Configuration>
</UnitMonitor>