Errore del servizio Attivazione processo Windows (WAS) durante la creazione del sito

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

Knowledge Base article:

Riepilogo

I siti Web di Internet Information Services (IIS) che utilizzano HTTP si basano su diversi componenti importanti di IIS per la propria disponibilità. È necessario che siano correttamente in esecuzione il servizio Attivazione processo Windows (WAS), il servizio Pubblicazione sul Web (W3SVC) e il servizio HTTP. È inoltre necessario che sia disponibile un pool di applicazioni correttamente in esecuzione per le applicazioni del sito Web. Se uno di questi componenti non funziona, il sito Web non sarà disponibile.

Risoluzioni

Arrestare e riavviare WAS

Arrestando il servizio WAS si arresteranno anche il servizio Pubblicazione sul Web (W3SVC) e tutti gli altri servizi dipendenti da WAS. Pertanto, potrebbe essere inoltre necessario avviare questi altri servizi.

Per arrestare e riavviare WAS:

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.2008.WebSite
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.InternetInformationServices.2008.WebSite.EventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Errore del servizio Attivazione processo Windows (WAS) durante la creazione del sito
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.2008.WebSite.WAS.Did.Not.Create.Site.Monitor" Accessibility="Public" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.InternetInformationServices.2008.WebSite" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.InternetInformationServices.2008.WebSite.EventLogManualReset2StateMonitorType" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.2008.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>