HTTP を使用するインターネット インフォメーション サービス (IIS) Web サイトは、可用性を実現するために複数の重要な IIS コンポーネントを使用します。Windows プロセス アクティブ化サービス (WAS)、World Wide 発行サービス (W3SVC)、HTTP サービスはすべて、適切に実行している必要があります。また、適切に実行しているアプリケーション プールを、Web サイトのアプリケーションから利用できるようにする必要があります。これらのコンポーネントのいずれかに正常に動作しないものがあると、Web サイトは利用できません。
サイトのアプリケーション パスを設定する
Web サイトには有効なアプリケーション パスを設定する必要があります。アプリケーション パスが正しくないと、サイトは開始しません。Web サイトに有効なアプリケーション パスを設定し、Web サイトを再起動します。
Web サイトに有効なアプリケーション パスを設定する
Web サイトに対する有効なアプリケーション パスを設定するには:
コマンド プロンプト ウィンドウを管理者特権で開きます。[スタート] ボタンをクリックし、[すべてのプログラム] をポイントし、[アクセサリ] をクリックし、[コマンド プロンプト] を右クリックして、[管理者として実行] をクリックします。
「cd %Windir%\system32\inetsrv\config」と入力します。
「notepad applicationHost.config」と入力します。
メモ帳で、system.applicationHost の下のサイトを検索し、エラーの原因となっている Web サイトを見つけます。
アプリケーション パスを修正するか。既定のパスを設定するように以下をサイト構成に追加します:
<application path="/">
<virtualDirectory path="/" physicalPath="%SystemDrive%\inetpub\wwwroot" />
</application>
Web サイトを再起動する
Web を再起動するには:
[スタート] ボタンをクリックし、[コントロール パネル] をクリックして、[管理ツール] をクリックします。
[インターネット インフォメーション サービス (IIS) マネージャー] を右クリックし、[管理者として実行] を選択します。
IIS マネージャーの [接続] ウィンドウで、コンピューター名を展開します。
サイトを展開します。
再起動する必要がある Web サイトを選択します。
[操作] ウィンドウで、[停止] をクリックしてサイトを停止します。
[操作] ウィンドウで、[開始] をクリックしてサイトを開始します。
下のリンクを使用してこれを実行することもできます:
Web サイトの停止
Web サイトの開始
Target | Microsoft.Windows.InternetInformationServices.6.2.WebSite | ||
Parent Monitor | System.Health.ConfigurationState | ||
Category | ConfigurationHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.InternetInformationServices.6.2.WebSite.EventLogManualReset2StateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<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>