今日の自分を支える 技術→マネジメント

技術職→管理職になりました

クラスタ構成でIISに役割と機能の追加をすると0x800f0922エラーが発生する

ネットを探しても全然見つからず困ったので、メモ書き。

問題

クラスタ構成されている2台のPCに、IISのセキュリティ機能を追加しようとしたところ「0x800f0922」エラーが発生した。

調査

以下のログを確認する
- C:\Windows にあるiis.log(iis8.logなど数字が入ってる場合もある)
- CBS.log

今回のログ

生ログは貼り付けられないので、参考URLのログから引用

[04/20/2011 15:42:23] [ ***** IIS 7.0 Component Based Setup ***** ]  [04/20/2011 15:42:23] "C:\Windows\System32\inetsrv\iissetup.exe" /install ODBCLoggingBinaries  [04/20/2011 15:42:23] Install of component ODBCLoggingBinaries succeeded!  [04/20/2011 15:42:23] Success!  [04/20/2011 15:42:23] [ End of IIS 7.0 Component Based Setup ]  [04/20/2011 15:42:23] [ ***** IIS 7.0 Component Based Setup ***** ]  [04/20/2011 15:42:23] "C:\Windows\System32\inetsrv\iissetup.exe" /install ODBCLogging  [04/20/2011 15:42:23] Install of component ODBCLogging succeeded!  [04/20/2011 15:42:23] Success!  [04/20/2011 15:42:23] [ End of IIS 7.0 Component Based Setup ]  [04/20/2011 15:42:23] [ ***** IIS 7.0 Component Based Setup ***** ]  [04/20/2011 15:42:23] "C:\Windows\System32\inetsrv\iissetup.exe" /launch C:\Windows\System32\inetsrv\appcmd.exe reset config -section:system.webServer/odbcLogging  

[04/20/2011 15:42:23] Launching command C:\Windows\System32\inetsrv\appcmd.exe, with params C:\Windows\System32\inetsrv\appcmd.exe reset config -section:system.webServer/odbcLogging  
[04/20/2011 15:42:24] < !!FAIL!! > LaunchCommand result=0x80070005

[04/20/2011 15:42:24] [ End of IIS 7.0 Component Based Setup ]  [04/20/2011 15:42:26] [ ***** IIS 7.0 Component Based Setup ***** ]  [04/20/2011 15:42:26] "C:\Windows\WinSxS\amd64_microsoft-windows-iis-sharedlibraries_31bf3856ad364e35_6.0.6002.18005_none_6ef387546a5193ce\iissetup.exe" /uninstall ODBCLogging  [04/20/2011 15:42:26] Uninstall of component ODBCLogging succeeded!  [04/20/2011 15:42:26] Success!  [04/20/2011 15:42:26] [ End of IIS 7.0 Component Based Setup ]  [04/20/2011 15:42:26] [ ***** IIS 7.0 Component Based Setup ***** ]  [04/20/2011 15:42:26] "C:\Windows\WinSxS\amd64_microsoft-windows-iis-sharedlibraries_31bf3856ad364e35_6.0.6002.18005_none_6ef387546a5193ce\iissetup.exe" /launch_uninstall C:\Windows\System32\inetsrv\appcmd.exe clear config -section:system.webServer/odbcLogging  [04/20/2011 15:42:26] Launching command C:\Windows\System32\inetsrv\appcmd.exe, with params C:\Windows\System32\inetsrv\appcmd.exe clear config -section:system.webServer/odbcLogging  [04/20/2011 15:42:27] < !!FAIL!! > LaunchCommand result=0x80070005  [04/20/2011 15:42:27] [ End of IIS 7.0 Component Based Setup ]  [04/20/2011 15:42:27] [ ***** IIS 7.0 Component Based Setup ***** ]  [04/20/2011 15:42:27] "C:\Windows\WinSxS\amd64_microsoft-windows-iis-sharedlibraries_31bf3856ad364e35_6.0.6002.18005_none_6ef387546a5193ce\iissetup.exe" /uninstall ODBCLoggingBinaries  [04/20/2011 15:42:27] Uninstall of component ODBCLoggingBinaries succeeded!  [04/20/2011 15:42:27] Success!  [04/20/2011 15:42:27] [ End of IIS 7.0 Component Based Setup ]  

appcmd.exeコマンド実行後に「< !!FAIL!! > LaunchCommand result=0x80070005」が出ている感じ

原因

参考URLにもある通り「共有構成」が邪魔していた。インストールの際に共有構成の設定ファイルを更新しようとするためらしい。
IISマネージャで共有構成の有効化を解除 してから役割と機能の追加を実施すると、正常にインストールできた。
IIS設定ファイルが更新されるので、再度共有構成をする際には共有構成のエクスポートからやりなおしたほうがよい

参考URL

このサイトがヒントになった。 Document Display | HPE Support Center