Server 2008 R2 で IIS および Windows プロセス アクティベーション ロールをアンインストールおよびインストールできない

Server 2008 R2 で IIS および Windows プロセス アクティベーション ロールをアンインストールおよびインストールできない

インターネットでたくさん検索した後、スーパーユーザーでこの質問を書いています。問題は、Windows Server 2008 R2 をインストールし、AD と IIS を正常にインストールしたことです。いくつかの問題のため、IIS を削除しようとしましたが、アンインストール プロセス中に致命的なエラーが発生しました。

手動で削除しようとしましたが、その後Windows プロセス アクティベーション サービスプロセスがクラッシュします。この機能をリモートで実行しようとすると、以下のようにエラーが多発します。

削除しようとするWindows プロセス アクティベーション サービス

Windows Process Activation Service: Removal failed
Error: a.  Fatal error during installation
Error: Attempt to un-install .NET Environment failed with error code 0x80070643.  Fatal error during installation
Error: Attempt to un-install Process Model failed with error code 0x80070643.  Fatal error during installation
The following features were not removed:
Process Model
.NET Environment
Configuration APIs

IIS 7.5 のインストールに失敗しました

Web Server (IIS): Installation failed
Error: Attempt to install IIS Management Console failed with error code  0x80070643.  Fatal error during installation
Error: Attempt to install Request Monitor failed with error code 0x80070643.  Fatal error during installation
Error: Attempt to install Static Content Compression failed with error code 0x80070643.  Fatal error during installation
Error: Attempt to install Request Filtering failed with error code 0x80070643.  Fatal error during installation
Error: Attempt to install HTTP Logging failed with error code 0x80070643.  Fatal error during installation
Error: Attempt to install HTTP Errors failed with error code 0x80070643.  Fatal error during installation
Error: Attempt to install Static Content failed with error code 0x80070643.  Fatal error during installation
Error: Attempt to install Default Document failed with error code 0x80070643.  Fatal error during installation
Error: Attempt to install Directory Browsing failed with error code 0x80070643.  Fatal error during installation
The following role services were not installed:
Web Server
  Common HTTP Features
     Static Content
     Default Document
     Directory Browsing
     HTTP Errors
  Health and Diagnostics
     HTTP Logging
     Request Monitor
  Security
     Request Filtering
  Performance
     Static Content Compression
  IIS Management Console

また、サーバーに IIS ロールをインストールできません。リモート ロール/機能を強制的にインストールする方法はありますか?

答え1

SMConfigInstallerが の設定ファイルを更新しようとしているときに%systemroot%\System32\inetsrv\config\schema何かが見つからないため、問題が発生しているようです。0x80070002

Process output: [l:323 [323]"SMConfigInstaller[Error]: CApplicationHostConfigInstaller::GetParentElement m_spAppHostAdminManager->GetAdminSection failed. cbstrSectionName=system.applicationHost/listenerAdapters m_cbstrConfigCommitPath=MACHINE/WEBROOT/APPHOST Error code: 0x80070002SMConfigInstaller[Error]: Installation failed with error: 0x80070002

しかし、私は IIS を使用していないので、ここでどの構成ファイルが使用されているかはわかりません。動作するクリーンなシステムと比較してみてください。

関連情報