トップ回答者
IIS7.5 アプリケーション開発機能 ASP.NETの有効化に失敗する

質問
-
Azure SDKをインストールするための要件として、IIS7 の ASP.NET を有効にする必要があり、それをしようとしていますが、コントロールパネルの「Windowsの機能の有効化または無効化」で行うと「エラーが発生しました、正しく変更されなかった機能があります。」と出て有効にできません。
また、Web PIの「IIS 7の推奨される構成」にて同様のことが行えますが、こちらも「0x80070643での操作に失敗しました。インストール中に致命的なエラーが発生しました。」と出てインストールできません。
WebPIのログは以下のようになっています。
----------------------------------------------------------------------------------------------
DownloadManager Information: 0 : Setting current install to 1
DownloadManager Information: 0 : Starting install sequence
DownloadManager Information: 0 : Starting IIS 7.5 component install
DownloadManager Information: 0 : Creating IIS 7.0 unattended setup file: C:\Users\xxxxxxx\AppData\Local\Temp\tmp3F18.tmp
DownloadManager Information: 0 : Starting IIS unattended setup: C:\Windows\sysnative\pkgmgr.exe
DownloadManager Information: 0 : Waiting for process: 6336 - C:\Windows\sysnative\pkgmgr.exe
DownloadManager Error: 0 : Unattended setup returned '1603'
DownloadManager Information: 0 : Product IIS: WAS .NET 環境 done install completed
DownloadManager Information: 0 : Increasing current install to 2
DownloadManager Information: 0 : Product IIS: .NET 拡張機能 done install completed
DownloadManager Information: 0 : Increasing current install to 3
DownloadManager Information: 0 : Product IIS: ASP.NET done install completed
DownloadManager Information: 0 : Increasing current install to 4
DownloadManager Warning: 0 : Dependency failed for product 'IIS 7 の推奨される構成'. Skipping install
DownloadManager Information: 0 : Product IIS 7 の推奨される構成 had a dependency fail. Increasing install product to 5
--------------------------------------------------------------------------------------------以下のことも試しましたが、どれも同様のエラーでNGでした。
セーフモードでの有効化
.Net Framework 4.0のCleanup Toolによる完全削除
.Net Framework 4.0の再インストール
IISのすべてを無効化しリブート後再インストール
マシン全体のリカバリーはできれば避けたいのですが、それをせずにどうやったら解消できるでしょうか?
どなたかお教えいただければと思います。
回答
-
自己レスです。
Azureのサポートの方と協力して、様々なログから失敗している原因より以下の対処で正常にインストールできました。
- 回避方法
以下のレジストリキーを追加してから機能の有効化をすることで問題が回避できました。
・HKLM\System\CurrentControlSet\Services\ASP.NET_2.0.50727\Names
・HKLM\System\CurrentControlSet\Services\ASP.NET_2.0.50727\Performance
・HKLM\System\CurrentControlSet\Services\ASP.NET_64_2.0.50727\Names
・HKLM\System\CurrentControlSet\Services\ASP.NET_64_2.0.50727\Performance
・HKLM\System\CurrentControlSet\Services\ASP.NET_64\Performance
ありがとうございました。- 回答としてマーク yaguchi_ 2011年10月7日 4:03
すべての返信
-
yaguchi_ さん、こんにちは
フォーラム オペレーターの星 睦美です。結果をお知らせいただきありがとうございます。
私のほうでもインストールエラーに関するサポート情報を調べてみました。>DownloadManager Information: 0 : Starting IIS unattended setup: C:\Windows\sysnative\pkgmgr.exe
>DownloadManager Information: 0 : Waiting for process: 6336 - C:\Windows\sysnative\pkgmgr.exe
>DownloadManager Error: 0 : Unattended setup returned '1603'質問の内容にあるWeb PI ログの6~8行目を見ますと、pkgmgr.exe を実行した際に'1603' インストールエラーとなっているように思います。('1603' のエラーに関しては以下のサポート情報を参考にご覧ください。)
・表示される、"エラー 1603年: インストール中に致命的なエラー"Windows インストーラー パッケージをインストールしようとするとエラー メッセージ
http://support.microsoft.com/kb/834484/ja・You receive an "error 1603: A fatal error occurred during installation" error message when you try to install a Windows Installer package:
http://support.microsoft.com/kb/834484/en-usトラブルシューティングのために、Pkgmgr.exe をコマンドから実行してインストール可能かどうか確認してみてはいかがでしょうか。TechNet ライブラリにPkgmgr.exe の説明がありますのでご紹介しますね。
・コマンド ラインからの IIS 7.0 のインストール:
http://technet.microsoft.com/ja-jp/library/dd647597.aspx
お困りの場合にはWindows Azure のサポートページで問い合わせることもできます。
よろしければご検討ください。
・Windows Azure のサポート:
http://www.microsoft.com/japan/windowsazure/support/
こちらの情報がお役にたちましたら幸いです。
日本マイクロソフト株式会社 フォーラム オペレーター 星 睦美- 編集済み 星 睦美 2011年9月30日 4:21
-
自己レスです。
Azureのサポートの方と協力して、様々なログから失敗している原因より以下の対処で正常にインストールできました。
- 回避方法
以下のレジストリキーを追加してから機能の有効化をすることで問題が回避できました。
・HKLM\System\CurrentControlSet\Services\ASP.NET_2.0.50727\Names
・HKLM\System\CurrentControlSet\Services\ASP.NET_2.0.50727\Performance
・HKLM\System\CurrentControlSet\Services\ASP.NET_64_2.0.50727\Names
・HKLM\System\CurrentControlSet\Services\ASP.NET_64_2.0.50727\Performance
・HKLM\System\CurrentControlSet\Services\ASP.NET_64\Performance
ありがとうございました。- 回答としてマーク yaguchi_ 2011年10月7日 4:03