この記事は、Windows Server 2012 Server Core コンピューターからの インターネット インフォメーション サービス (IIS) 8.0 イベントがサーバー マネージャーにリモートで表示されない問題を回避するのに役立ちます。
元の製品バージョン: インターネット インフォメーション サービス 8.0
元の KB 番号: 2721972
現象
Windows Server 2012 の完全インストールでサーバー マネージャーを使用してリモートの Windows Server 2012 Server Core コンピューターから IIS 8.0 イベントを表示する場合、Windows Server 2012 コンピューターのサーバー マネージャーの [イベント] タイルに Server Core コンピューターからの IIS 固有のイベントは表示されません。
原因
Windows Server 2012 Server Core コンピューター上のMicrosoft\ServerManager\Events directory
にWebServer.Events.xml ファイルがありません。
回避策
この問題を回避するには、次の手順を実行してください。
Windows Server 2012 Server Core コンピューターで、
%programdata%\Microsoft\ServerManager\Events\
に移動します。新しい.xml ファイルを作成します。 ファイルに WebServer.Events.xmlという名前を付けます。
次の xml を WebServer.Events.xml ファイルに保存します。
<ViewerConfig> <QueryConfig> <QueryParams> <UserQuery /> </QueryParams> <QueryNode> <Name ResourceId="%windir%\system32\svrmgrnc.dll,-422">Web Server</Name> <Description ResourceId="%windir%\system32\svrmgrnc.dll,-423">System events for Web Server</Description> <SuppressQueryExecutionErrors>1</SuppressQueryExecutionErrors> <QueryList> <Query> <Select Path="System">*[System[Provider[@Name='Microsoft-Windows-IIS-APPHOSTSVC']]]</Select> <Select Path="System">*[System[Provider[@Name='Microsoft-Windows-IIS-FTP']]]</Select> <Select Path="System">*[System[Provider[@Name='Microsoft-Windows-IIS-IisMetabaseAudit']]]</Select> <Select Path="System">*[System[Provider[@Name='Microsoft-Windows-IIS-IISReset']]]</Select> <Select Path="System">*[System[Provider[@Name='Microsoft-Windows-IIS-W3SVC']]]</Select> <Select Path="System">*[System[Provider[@Name='Microsoft-Windows-IIS-W3SVC-PerfCounters']]]</Select> <Select Path="System">*[System[Provider[@Name='Microsoft-Windows-IIS-W3SVC-WP']]]</Select> <Select Path="System">*[System[Provider[@Name='Microsoft-Windows-IIS-WMSVC']]]</Select> <Select Path="System">*[System[Provider[@Name='Microsoft-Windows-WAS']]]</Select> <Select Path="System">*[System[Provider[@Name='Microsoft-Windows-WAS-ListenerAdapter']]]</Select> </Query> </QueryList> </QueryNode> </QueryConfig> </ViewerConfig>
詳細
Microsoft は、これがこの記事の Original 製品バージョン セクションで問題であることを確認しました。