URL de site Web non valide

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

Knowledge Base article:

Résumé

Les sites Web IIS (Internet Information Services) utilisant HTTP reposent sur plusieurs composants IIS importants qui assurent leur disponibilité. Il s'agit du service d'activation des processus Windows (WAS), du service de publication World Wide Web (W3SVC) et du service HTTP, qui doivent tous s'exécuter correctement. En outre, un pool d'applications fonctionnant correctement doit être disponible pour les applications de site Web. Si l'un de ces composants ne fonctionne pas, le site Web est indisponible.

Résolutions

Contrôler une liaison URL

Une URL non valide peut empêcher un site web de démarrer. Pour résoudre ce problème :

1. Vérifiez que toutes les URL spécifiées pour vos applications sont valides et n'enfreignent pas les règles de normalisation URL (canonicalisation). Pour plus d'informations, consultez le RFC 3986.

2. Redémarrez le site.

Pour redémarrer le site :

Vous pouvez aussi démarrer le site à l'aide du lien ci-dessous :

Démarrer le site 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
URL de site Web non valide
{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>