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.
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:
Aprire una finestra del prompt dei comandi con autorizzazioni elevate. Fare clic su Start, scegliere Tutti i programmi, quindi Accessori, fare clic con il pulsante destro del mouse su Prompt dei comandi, quindi scegliere Esegui come amministratore.
Al prompt dei comandi digitare net stop was /y.
Al prompt dei comandi digitare net start was.
Per riavviare W3SVC, digitare dal prompt dei comandi net start w3svc. Avviare inoltre tutti gli altri servizi arrestati all'arresto di WAS.
Target | Microsoft.Windows.InternetInformationServices.2008.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.2008.WebSite.EventLogManualReset2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<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>