無効なアプリケーション パス

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

Knowledge Base article:

概要

HTTP を使用するインターネット インフォメーション サービス (IIS) Web サイトは、可用性を実現するために複数の重要な IIS コンポーネントを使用します。Windows プロセス アクティブ化サービス (WAS)、World Wide 発行サービス (W3SVC)、HTTP サービスはすべて、適切に実行している必要があります。また、適切に実行しているアプリケーション プールを、Web サイトのアプリケーションから利用できるようにする必要があります。これらのコンポーネントのいずれかに正常に動作しないものがあると、Web サイトは利用できません。

解決方法

サイトのアプリケーション パスを設定する

Web サイトには有効なアプリケーション パスを設定する必要があります。アプリケーション パスが正しくないと、サイトは開始しません。Web サイトに有効なアプリケーション パスを設定し、Web サイトを再起動します。

Web サイトに有効なアプリケーション パスを設定する

Web サイトに対する有効なアプリケーション パスを設定するには:

        <application path="/">

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

        </application>

Web サイトを再起動する

Web を再起動するには:

下のリンクを使用してこれを実行することもできます:

Web サイトの停止

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
無効なアプリケーション パス
{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>