невозможно удалить и установить роли активации процессов IIS и Windows на сервере 2008 r2

невозможно удалить и установить роли активации процессов IIS и Windows на сервере 2008 r2

Я пишу этот вопрос в качестве суперпользователя после долгих поисков в Интернете. Проблема в том, что я установил 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, поэтому понятия не имею, какие файлы конфигурации здесь используются. Попробуйте сравнить с чистой системой, где это работает.

Связанный контент