無法在 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,所以我不知道這裡使用了哪些設定檔。嘗試將其與正常運作的乾淨系統進行比較。

相關內容