HTTP を使用するインターネット インフォメーション サービス (IIS) Web サイトは、可用性を実現するために複数の重要な IIS コンポーネントを使用します。Windows プロセス アクティブ化サービス (WAS)、World Wide 発行サービス (W3SVC)、HTTP サービスはすべて、適切に実行している必要があります。また、適切に実行しているアプリケーション プールを、Web サイトのアプリケーションから利用できるようにする必要があります。これらのコンポーネントのいずれかに正常に動作しないものがあると、Web サイトは利用できません。
重複するバインドを削除する
Web サイトに重複する URL バインドが存在すると、Web サイトの 1 つが無効になります。ApplicationHost.config または Web.config ファイルに、重複するアプリケーション URL を登録していないかを確認します。重複を解決するには、どのサイトで同じバインドを使用しているかを確認します。次に、必要があればバインドを変更し、サイトを再起動します。これを行うには、A、B、C の手順を実行します。
A.同じバインドを使用しているサイトを特定する
同じバインドを使用しているサイトを特定するには:
[スタート] ボタンをクリックし、[コントロール パネル] をクリックして、[管理ツール] をクリックします。
[インターネット インフォメーション サービス (IIS) マネージャー] を右クリックし、[管理者として実行] を選択します。
IIS マネージャーの [接続] ウィンドウで、コンピューター名を展開します。
[サイト] フォルダーをクリックします。サーバー上の Web サイトの一覧が、[機能ビュー] の右側に表示されます。各サイトのバインドが、[バインド] 列に一覧されます。
バインド一覧を確認し、同じバインド プロパティ セットがあるサイトを探します。たとえば、バインドが *:80 (http) となっている 2 つのサイトを探します。
B.重複するバインドを削除する
重複するバインドを削除するには:
IIS マネージャーの [接続] ウィンドウで、構成する Web サイトを選択します。
[操作] ウィンドウで、[バインド...] をクリックします。
既存のバインドを変更するには、バインドを選択して [編集] をクリックします。
新しいバインドを追加するには、[追加] をクリックします。
サイトに対して一意のバインドを設定したら、[OK] をクリックして [閉じる] をクリックします。
C.Web サイトを再起動する
Web を再起動するには:
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.DuplicateBinding.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.DuplicateBinding.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>1007</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>