为成功执行 Internet Information Services (IIS) World Wide Web 发布服务 (W3SVC) 的活动,必须避免涉及文件访问、内存可用性和网络连接的任何 I/O 错误。此外,必须可访问和运行任何使用的脚本以及正确配置任何包含的文件。
检查连接失败
若要解决此连接问题,请检查事件日志消息以查看消息中包含的特定错误号。此错误号将不同于事件 ID。要执行此操作,请查看以下步骤。
检查特定错误号
要检查特定错误号,请执行以下操作:
在“事件查看器”中,选择你收到的事件。
单击“详细信息”选项卡,然后单击“友好视图”。
如果存在特定错误号,则应显示“二进制数据:”一词。
在“单词中”下,请注意冒号后的数字。
查找有关特定错误号的详细信息
若要了解有关特定错误号的详细信息,请执行以下操作:
从 Microsoft Exchange Server 错误代码查找页面下载 Err.exe 实用工具。
单击“开始”、“所有程序”、“附件”,然后单击“命令提示符”。
在命令提示符处,导航到你下载 err.exe 的目录。例如,如果已将 err.exe 下载到 C:\Err,则键入 cd C:\Err。
键入错误编号,获取有关此错误的详细信息。例如,如果特定错误号为 80070005,则键入 err 80070005。
在本例的步骤 4 中,此错误解析为 ERROR_ACCESS_DENIED,因此下一步将检查权限问题。
Target | Microsoft.Windows.InternetInformationServices.6.2.WebServer |
Category | Alert |
Enabled | True |
Event_ID | 2258 |
Event Source | Microsoft-Windows-IIS-W3SVC-WP |
Alert Generate | False |
Remotable | True |
Event Log | Application |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
WA | WriteAction | Microsoft.Windows.Server.IIS.6.2.GenerateAlertAction.SuppressedByDescription | Default |
<Rule ID="Microsoft.Windows.InternetInformationServices.6.2.The.server.failed.to.close.client.connections.to.the.following.URLs.during.shutdown" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.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>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-IIS-W3SVC-WP</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>2258</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Windows.Server.IIS.6.2.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.6.2.The.server.failed.to.close.client.connections.to.the.following.URLs.during.shutdown.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>