SF_NOTIFY_READ_RAW_DATA フィルター通知は、IIS 8 ではサポートされていません

Microsoft.Windows.InternetInformationServices.6.2.SFNOTIFYREADRAWDATA.filter.notification.is.not.supported.in.IIS.8 (Rule)

Knowledge Base article:

概要

インターネット インフォメーション サービス (IIS) ISAPI (Internet Server Application Programming Interface) 拡張機能とフィルターを使用すると、IIS の要求処理機能を拡張および変更できます。ISAPI フィルターは書き込みに時間がかかり、セッション処理をネイティブ サポートしません。また、保守も面倒な場合があります。IIS 6.0 と IIS 8 では、サーバーの安定性を強化するために ISAPI アプリケーションが分離して実行されます。ISAPI フィルターは IIS 8 でもこれまでどおり使用でき、開発者は IIS 8 の新しいモジュラー アーキテクチャーに統合されたマネージ モジュールまたはネイティブ モジュールを容易に追加できます。

解決方法

SF_NOTIFY_READ_RAW_DATA は IIS 8 ではサポートされていない

IIS 8 では、ISAPI フィルターの SF_NOTIFY_READ_RAW_DATA 通知がサポートされなくなりました。この通知を必要とする ISAPI フィルターを使用する場合は、IIS 6.0 の IIS 5.0 分離モードでフィルターを実行する必要があります (ただし、これはお勧めしません)。詳細については、「 Information about ISAPI filters that register the SF_NOTIFY_READ_RAW_DATA event in Internet Information Services version 6.0 (インターネット インフォメーション サービス バージョン 6.0 で SF_NOTIFY_READ_RAW_DATA イベントを登録する ISAPI フィルターに関する情報)」の記事を参照してください。

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.WebServer
CategoryAlert
EnabledTrue
Event_ID2261
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.SFNOTIFYREADRAWDATA.filter.notification.is.not.supported.in.IIS.8" 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>2261</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.SFNOTIFYREADRAWDATA.filter.notification.is.not.supported.in.IIS.8.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>