Internetinformationsdienste (IIS)-Websites, die HTTP verwenden, vertrauen in Bezug auf ihre Verfügbarkeit auf mehrere wichtige IIS-Komponenten. Der Windows-Prozessaktivierungsdienst (WAS), der WWW-Publishingdienst (W3SVC) und der HTTP-Dienst müssen korrekt ausgeführt werden. Außerdem muss für die Anwendungen der Website ein ordnungsgemäß ausgeführter Anwendungspool verfügbar sein. Wenn eine dieser Komponenten nicht funktioniert, ist die Website nicht verfügbar.
Festlegen des Anwendungspfads für eine Site
Eine Website muss über einen gültigen Anwendungspfad verfügen. Wenn der Anwendungspfad ungültig ist, wird die Site nicht gestartet. Legen Sie einen gültigen Anwendungspfad für die Website fest, und starten Sie dann die Site neu.
Festlegen eines gültigen Anwendungspfads für die Website
So legen Sie einen gültigen Anwendungspfad für die Website fest
Öffnen Sie ein Eingabeaufforderungsfenster mit erhöhten Rechten. Klicken Sie auf "Start", zeigen Sie auf "Alle Programme", klicken Sie auf "Zubehör", klicken Sie mit der rechten Maustaste auf "Eingabeaufforderung", und klicken Sie dann auf "Als Administrator ausführen".
Geben Sie "cd %Windir%\system32\inetsrv\config" ein.
Geben Sie "notepad ApplicationHost.config" ein.
Navigieren Sie in Editor unter "system.applicationHost" zum Abschnitt "sites", und suchen Sie die Website, die den Fehler verursacht.
Korrigieren Sie den Anwendungspfad, oder fügen Sie der Sitekonfiguration Folgendes hinzu, sodass sie über einen Standardpfad verfügt:
<application path="/">
<virtualDirectory path="/" physicalPath="%SystemDrive%\inetpub\wwwroot" />
</application>
Neustart der Website
So starten Sie die Website neu
Klicken Sie auf "Start", klicken Sie auf "Systemsteuerung", und klicken Sie dann auf "Verwaltung".
Klicken Sie mit der rechten Maustaste auf "Internetinformationsdienste (IIS)-Manager", und wählen Sie "Als Administrator ausführen" aus.
Erweitern Sie im IIS-Manager im Bereich "Verbindungen" den Computernamen.
Erweitern Sie "Sites".
Wählen Sie die Website aus, die neu gestartet werden muss.
Klicken Sie im Bereich "Aktionen" auf "Beenden", um die Website zu beenden.
Klicken Sie im Bereich "Aktionen" auf "Starten", um die Site zu starten.
Sie können diese Aufgaben auch durch Aufrufen der folgenden Links ausführen:
Website beenden
Website starten
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.RootApplicationDefined.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.RootApplicationDefined.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>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(5056|5161)$</Pattern>
</RegExExpression>
</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>