La disponibilità dei siti Web Internet Information Services (IIS) che utilizzano HTTP si basa su numerosi importanti componenti IIS. È necessario che i servizi Processo attivazione Windows (WAS), Pubblicazione sul Web (W3SVC) e HTTP siano in esecuzione correttamente. Inoltre, per le applicazioni del sito Web è necessario che sia disponibile un pool di applicazioni in esecuzione senza problemi. Se uno di questi componenti non funziona correttamente, il sito Web non è disponibile.
Arrestare e riavviare WAS
Se si arresta il servizio WAS, si arresteranno automaticamente anche il servizio Pubblicazione sul Web (W3SVC) e tutti gli altri servizi che dipendono da WAS. Di conseguenza, potrebbe essere necessario riavviare questi altri servizi.
Per arrestare e riavviare WAS:
Aprire una finestra del prompt dei comandi con privilegi elevati. Fare clic sul pulsante Start, selezionare Tutti i programmi, Accessori, fare clic con il pulsante destro del mouse su Prompt dei comandi, quindi scegliere Esegui come amministratore.
Nel prompt dei comandi, digitare net stop was /y.
Nel prompt dei comandi, digitare net start was.
Per riavviare W3SVC, nel prompt dei comandi, digitare net start w3svc. Inoltre, avviare gli eventuali servizi che sono stati arrestati quando WAS è stato chiuso.
Target | Microsoft.Windows.InternetInformationServices.6.2.WebSite | ||
Parent Monitor | System.Health.ConfigurationState | ||
Category | ConfigurationHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.InternetInformationServices.6.2.WebSite.EventLogManualReset2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.6.2.WebSite.WAS.did.not.process.changes.that.affect.the.web.site.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.WebSite" ParentMonitorID="SystemHealth!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Microsoft.Windows.InternetInformationServices.6.2.WebSite.EventLogManualReset2StateMonitorType" ConfirmDelivery="false">
<Category>ConfigurationHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.6.2.WebSite.WAS.did.not.process.changes.that.affect.the.web.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>5143</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>