检测到 ISAPI 应用程序错误

Microsoft.Windows.InternetInformationServices.6.2.ISAPI.application.error.detected (Rule)

Knowledge Base article:

摘要

Internet Information Services (IIS) ISAPI(Internet 服务器应用程序编程接口)扩展功能和筛选器可扩展和修改 IIS 的请求处理功能。ISAPI 筛选器写入耗时长、不提供会话处理的本机支持且维护过程繁琐。IIS 6.0 和 IIS 8 以隔离的方式运行 ISAPI 应用程序,从而增强服务器稳定性。同时仍然可以在 IIS 8 中使用 ISAPI 筛选器,这样开发人员就可以轻松添加被管理模块或本机模块以集成到 IIS 8 的新模块体系结构。

解决方案

更正 ISAPI 加载失败

如果 ISAPI 筛选器加载失败,可能的解决方法包括:

检查特定错误号

要检查特定错误号,请执行以下操作:

查找有关特定错误号的详细信息

若要了解有关特定错误号的详细信息,请执行以下操作:

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.WebServer
CategoryAlert
EnabledTrue
Event SourceMicrosoft-Windows-IIS-W3SVC-WP
Alert GenerateFalse
RemotableTrue
Event LogApplication

Member Modules:

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

Source Code:

<Rule ID="Microsoft.Windows.InternetInformationServices.6.2.ISAPI.application.error.detected" 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>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(2274|2268|2220|2219|2214)$</Pattern>
</RegExExpression>
</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.ISAPI.application.error.detected.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>