IIS 管理服务无法启动 - 错误 87:参数不正确

IIS 管理服务无法启动 - 错误 87:参数不正确

Windows Server 2012。IIS 管理服务已停止 - 尝试从 Services.msc 启动时出现以下错误。事件日志显示两个错误事件 1000 和事件 7023(详情见下文)。任何建议都将不胜感激!

全球发布服务(w3svc)运行良好。

“Windows 无法在本地计算机上启动 IIS 管理服务。错误 87:参数不正确”。

尝试了以下方法,但没有任何效果:

  1. 重启服务器
  2. 重置
  3. 网络启动 iisadmin
  4. PS> Start-Service iisadmin 产生以下错误

PS C:\Windows\system32> Start-Service iisadmin Start-Service:无法启动服务“IIS Admin Service (iisadmin)”。位于第 1 行,字符:1 + Start-Service iisadmin + ~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo:OpenError:(System.ServiceProcess.ServiceController:ServiceController) [Start-Service],ServiceCommandException + FullyQualifiedErrorId:StartServiceFailed,Microsoft.PowerShell.Commands.StartServiceCommand

Windows 事件查看器错误:

Log Name:      Application
Source:        Application Error
Date:          7/25/2015 5:38:51 PM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      Web03.magna.global
Description:
Faulting application name: mmc.exe, version: 6.2.9200.16496, time stamp: 0x50ece2e8
Faulting module name: DUser.dll, version: 6.2.9200.16518, time stamp: 0x510ca23f
Exception code: 0xc000041d
Fault offset: 0x000000000000166d
Faulting process id: 0xbfc
Faulting application start time: 0x01d0c714b8ffc77f
Faulting application path: C:\Windows\system32\mmc.exe
Faulting module path: C:\Windows\system32\DUser.dll
Report Id: 89cbe2f8-3315-11e5-940f-005056bd737b
Faulting package full name: 
Faulting package-relative application ID: 
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2015-07-25T21:38:51.000000000Z" />
    <EventRecordID>18738</EventRecordID>
    <Channel>Application</Channel>
    <Computer>Web03.magna.global</Computer>
    <Security />
  </System>
  <EventData>
    <Data>mmc.exe</Data>
    <Data>6.2.9200.16496</Data>
    <Data>50ece2e8</Data>
    <Data>DUser.dll</Data>
    <Data>6.2.9200.16518</Data>
    <Data>510ca23f</Data>
    <Data>c000041d</Data>
    <Data>000000000000166d</Data>
    <Data>bfc</Data>
    <Data>01d0c714b8ffc77f</Data>
    <Data>C:\Windows\system32\mmc.exe</Data>
    <Data>C:\Windows\system32\DUser.dll</Data>
    <Data>89cbe2f8-3315-11e5-940f-005056bd737b</Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>

Log Name:      System
Source:        Service Control Manager
Date:          7/25/2015 5:55:49 PM
Event ID:      7023
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      Web03.magna.global
Description:
The IIS Admin Service service terminated with the following error: 
The parameter is incorrect.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
    <EventID Qualifiers="49152">7023</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8080000000000000</Keywords>
    <TimeCreated SystemTime="2015-07-25T21:55:49.498076700Z" />
    <EventRecordID>7926</EventRecordID>
    <Correlation />
    <Execution ProcessID="528" ThreadID="4760" />
    <Channel>System</Channel>
    <Computer>Web03.magna.global</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="param1">IIS Admin Service</Data>
    <Data Name="param2">%%87</Data>
    <Binary>490049005300410044004D0049004E000000</Binary>
  </EventData>
</Event>

答案1

终于找到了解决方案。通过服务器管理器 > 删除角色和功能向导删除“Web 服务器 (IIS) 支持角色”(包括所有 IIS 6)并重新添加这些角色解决了我的问题。当然,在完成 IIS 安装后,服务器会重新启动。

希望这对某些人有帮助!

相关内容