Ungültiger Anwendungspfad

Microsoft.Windows.InternetInformationServices.6.2.WebSite.RootApplicationDefined.Monitor (UnitMonitor)

Knowledge Base article:

Zusammenfassung

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.

Lösungen

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

        <application path="/">

              <virtualDirectory path="/" physicalPath="%SystemDrive%\inetpub\wwwroot" />

        </application>

Neustart der Website

So starten Sie die Website neu

Sie können diese Aufgaben auch durch Aufrufen der folgenden Links ausführen:

Website beenden

Website starten

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.WebSite
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.InternetInformationServices.6.2.WebSite.EventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Ungültiger Anwendungspfad
{0}
RunAsDefault

Source Code:

<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>