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.
Zatrzymaj i ponownie uruchom usługę WAS
Zatrzymanie usługi WAS spowoduje równoczesne zatrzymanie usługi publikowania w sieci World Wide Web (W3SVC) i innych usług zależnych od usługi WAS. W związku z tym może być również konieczne uruchomienie tych innych usług.
Aby zatrzymać i ponownie uruchomić usługę WAS, wykonaj następujące czynności:
Otwórz wiersz polecenia z podwyższonym poziomem uprawnień. Kliknij przycisk Start, wskaż polecenie Wszystkie programy, kliknij opcję Akcesoria, prawym przyciskiem myszy kliknij opcję Wiersz polecenia, a następnie kliknij polecenie Uruchom jako administrator.
W wierszu polecenia wpisz net stop was /y.
W wierszu polecenia wpisz net start was.
Aby ponownie uruchomić usługę W3SVC, w wierszu polecenia wpisz net start w3svc. Uruchom również pozostałe usługi, które zostały zatrzymane podczas wyłączania usługi WAS.
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>