Neplatná adresa URL webu

Microsoft.Windows.InternetInformationServices.10.0.WebSite.InvalidURL.Monitor (UnitMonitor)

Knowledge Base article:

Souhrn

Dostupnost webů Internetové informační služby (IIS), které používají HTTP, spoléhá také na několik důležitých součástí služby IIS. Všechny služby – Aktivační služba procesů systému Windows (WAS), Služba publikování na webu (W3SVC) a služba HTTP – musí správně fungovat. Pro aplikace webu musí být navíc k dispozici správně spuštěný fond aplikací. Pokud není některá z těchto součástí funkční, nebude web k dispozici.

Řešení

Kontrola vazby adresy URL

Neplatná adresa URL může zabránit spuštění webu. Postup pro řešení tohoto problému:

1. Ujistěte se, zda jsou všechny adresy URL zadané pro vaše aplikace platné a neporušují pravidla normalizace adres URL. Další informace uvádí dokument RFC 3986.

2. Restartujte web.

Postup pro restartování webu:

Web můžete také znovu spustit pomocí následujícího odkazu:

Spustit web

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.10.0.WebSite
Parent MonitorSystem.Health.ConfigurationState
CategoryConfigurationHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.InternetInformationServices.10.0.WebSite.EventLogManualReset2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Neplatná adresa URL webu
{0}
RunAsDefault

Source Code:

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