Ungültige Website-URL

Microsoft.Windows.InternetInformationServices.6.2.WebSite.InvalidURL.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

Überprüfen einer URL-Bindung

Eine ungültige URL kann die Ursache dafür sein, dass eine Website nicht gestartet wird. So lösen Sie dieses Problem

1. Stellen Sie sicher, dass alle für Ihre Anwendungen angegebenen URLs gültig sind und keine Regeln der URL-Normalisierung (Kanonisierung) verletzt werden. Weitere Informationen finden Sie unter RFC 3986.

2. Starten Sie die Site neu.

So starten Sie die Site neu

Sie können die Site auch durch Aufrufen des folgenden Links starten:

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ültige Website-URL
{0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.6.2.WebSite.InvalidURL.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.InvalidURL.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>1003</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>