Chemin de l'application non valide

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

Définir le chemin de l'application pour un site

Un site web doit avoir un chemin d'application valide. Si le chemin de l'application est incorrect, le site ne démarrera pas. Définissez un chemin d'application valide pour le site Web, puis redémarrez ce dernier.

Définir un chemin d'application valide pour le site Web

Pour définir un chemin d'application valide pour le site Web :

        <application path="/">

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

        </application>

Redémarrer le site web

Pour redémarrer le site web :

Vous pouvez également effectuer cela à l'aide des liens ci-dessous :

Arrêter le site web

Démarrer le site web

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
Chemin de l'application non valide
{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>