WWW 服务没有初始化且不能启动 HTTP 驱动程序

Microsoft.Windows.InternetInformationServices.10.0.WWW.Service.did.not.initialize.the.HTTP.driver.and.was.unable.start (Rule)

Knowledge Base article:

摘要

Internet Information Services (IIS) World Wide Web 发布服务 (W3SVC) 需要同时运行 Windows Process Activation Service (WAS) 和 HTTP 服务,才能正常运行。如果 HTTP 服务不可用,W3SVC 将无法处理 HTTP 请求。

解决方法

停止 World Wide Web 发布服务和 HTTP 服务

若要停止 World Wide Web 发布服务和 HTTP 服务,请执行以下操作:

重新启动 World Wide Web 发布服务和 HTTP 服务

若要重新启动 World Wide Web 发布服务和 HTTP 服务,请执行以下操作:

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.10.0.WebServer
CategoryAlert
EnabledTrue
Event_ID1173
Event SourceMicrosoft-Windows-IIS-W3SVC
Alert GenerateFalse
RemotableTrue
Event LogSystem

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
WA WriteAction Microsoft.Windows.Server.IIS.10.0.GenerateAlertAction.SuppressedByDescription Default

Source Code:

<Rule ID="Microsoft.Windows.InternetInformationServices.10.0.WWW.Service.did.not.initialize.the.HTTP.driver.and.was.unable.start" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.WebServer" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-IIS-W3SVC</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>1173</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Server.IIS.10.0.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.10.0.WWW.Service.did.not.initialize.the.HTTP.driver.and.was.unable.start.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>