Internet Information Services (IIS) Websajter som använder HTTP är mycket beroende av IIS komponenter för dess tillgänglighet. Windows Process Activation Service (WAS), the World Wide Publishing Service (W3SVC), HTTP service, måste alla köras korrekt. Dessutom måste programpoolen köras korrekt för att vra tillgänglig för webbsajtens program. Om någon av dessa komponenter inte fungerar, kommer inte webbsajten att vara tillgänglig.
Stoppa och starta om HTTP-tjänsten
Om du stoppar HTTP-tjänsten stoppas även W3SVC (World Wide Web Publishing Service). All webbtrafik till servern kommer att stoppas medan dessa tjänster ligger nere.
Så här stoppar du och startar om HTTP-tjänsten:
Öppna en upphöjd kommandotolk. Klicka på Start, för markören till Alla program, klicka på Tillbehör, högerklicka på Kommandotolken och klicka sedan på Kör som administratör.
Skriv net stop HTTP /y.
Skriv net start w3svc. Detta kommer också att starta HTTP tjänsten.
Starta eventuella andra tjänster som stoppades när HTTP och W3SVC stängdes av.
Target | Microsoft.Windows.InternetInformationServices.10.0.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.10.0.WebSite.EventLogManualReset2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.10.0.WebSite.HTTP.Listening.To.Too.Many.Ports.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.HTTP.Listening.To.Too.Many.Ports.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>1131</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-IIS-W3SVC</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Configuration>
</UnitMonitor>