Caminho do aplicativo inválido

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

Knowledge Base article:

Resumo

Os sites do IIS (Serviços de Informações da Internet) que usam HTTP confiam em diversos componentes importantes do IIS para sua disponibilidade. O WAS (Serviço de Ativação de Processos do Windows), o W3SVC (Serviço de Publicação na World Wide Web), o serviço HTTP, todos devem estar sendo executados corretamente. Além disso, um pool de aplicativos que esteja sendo executado corretamente deve estar disponível para os aplicativos do site. Se qualquer um desses componentes não estiver funcionando, o site não estará disponível.

Resoluções

Configure o caminho de aplicativo de um site

Um site deve ter um caminho de aplicativo válido. Se o caminho de aplicativo estiver incorreto, o site não será iniciado. Configure um caminho de aplicativo válido para o site, depois reinicie o site.

Configure um caminho de aplicativo válido para o site

Para configurar um caminho de aplicativo válido para o site:

        <application path="/">

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

        </application>

Reinicie o site

Para reiniciar o site:

Também é possível fazer isso usando os links abaixo:

Parar o site

Iniciar o site

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
Caminho do aplicativo inválido
{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>