![Server 2008 R2 で IIS および Windows プロセス アクティベーション ロールをアンインストールおよびインストールできない](https://rvso.com/image/1497102/Server%202008%20R2%20%E3%81%A7%20IIS%20%E3%81%8A%E3%82%88%E3%81%B3%20Windows%20%E3%83%97%E3%83%AD%E3%82%BB%E3%82%B9%20%E3%82%A2%E3%82%AF%E3%83%86%E3%82%A3%E3%83%99%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%20%E3%83%AD%E3%83%BC%E3%83%AB%E3%82%92%E3%82%A2%E3%83%B3%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%8A%E3%82%88%E3%81%B3%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%A7%E3%81%8D%E3%81%AA%E3%81%84.png)
インターネットでたくさん検索した後、スーパーユーザーでこの質問を書いています。問題は、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 を使用していないので、ここでどの構成ファイルが使用されているかはわかりません。動作するクリーンなシステムと比較してみてください。