Web サイトおよび Web アプリケーションを確実に分離するには、インターネット インフォメーション サービス (IIS) アプリケーション プールが一意の名前と正しく構成された ID を持つように構成する必要があります。アプリケーション プールの構成中にエラーが発生すると、アプリケーション プールは、そのアプリケーション プールが割り当てられた Web サイトおよび Web アプリケーションをサービスすることができなくなる場合があります。
アプリケーション プールを停止し、再起動する
アプリケーション プールは、通常の操作に戻るために再起動する必要がある場合があります。アプリケーション プールは、Windows プロセス アクティブ化サービス (WAS) に依存しているため、WAS を再起動する必要がある場合があります。WAS を再起動する場合は、WAS に依存している World Wide Web 発行サービス (W3SVC) も再起動する必要がある場合があります。
アプリケーション プールを停止し、開始するには:
[スタート] ボタンをクリックし、[コントロール パネル] をクリックして、[管理ツール] をクリックします。
[インターネット インフォメーション サービス (IIS) マネージャー] を右クリックし、[管理者として実行] を選択します。
[接続] ウィンドウで、サーバー ノードを展開し、[アプリケーション プール] をクリックします。
[アプリケーション プール] ページで、開始または停止するアプリケーション プールを選択します。
[操作] ウィンドウで、次のいずれかを実行します。
アプリケーション プールを停止するには、[停止] をクリックします。
アプリケーション プールを開始するには、[開始] をクリックします。
以下のリンクを使用して、アプリケーション プールを再起動することもできます:
アプリケーション プールのリサイクル
WAS を停止または再起動するには:
コマンド プロンプト ウィンドウを管理者特権で開きます。 [スタート] ボタンをクリックし、[すべてのプログラム] をポイントします。次に、[アクセサリ] をクリックし、[コマンド プロンプト] を右クリックして、[管理者として実行] をクリックします。
コマンド プロンプトで、「net stop was /y」と入力します。
コマンド プロンプトで、「net start was」と入力します。
また、WAS を停止したときに停止された他のすべてのサービス (W3SVC など) を開始します。
W3SVC を開始するには:
コマンド プロンプト ウィンドウを管理者特権で開きます。 [スタート] ボタンをクリックし、[すべてのプログラム] をポイントします。次に、[アクセサリ] をクリックし、[コマンド プロンプト] を右クリックして、[管理者として実行] をクリックします。
「net start w3svc」と入力します。
Target | Microsoft.Windows.InternetInformationServices.6.2.ApplicationPool |
Category | Alert |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.Server.IIS.6.2.WarningAndErrorEventProvider | Default |
Filter | ConditionDetection | Microsoft.Windows.InternetInformationServices.6.2.ApplicationPool.EventFilter | Default |
WA | WriteAction | Microsoft.Windows.Server.IIS.6.2.GenerateAlertAction.SuppressedByDescription | Default |
<Rule ID="Microsoft.Windows.InternetInformationServices.6.2.WAS.did.not.apply.configuration.changes.to.application.pool" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.ApplicationPool" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Windows.Server.IIS.6.2.WarningAndErrorEventProvider">
<LogName>System</LogName>
</DataSource>
</DataSources>
<ConditionDetection ID="Filter" TypeID="Microsoft.Windows.InternetInformationServices.6.2.ApplicationPool.EventFilter">
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>5085</Value>
</ValueExpression>
</SimpleExpression>
</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>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Server.IIS.6.2.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.6.2.WAS.did.not.apply.configuration.changes.to.application.pool.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>