SF_NOTIFY_READ_RAW_DATA filtermeddelanden stöds inte i IIS 10

Microsoft.Windows.InternetInformationServices.10.0.SFNOTIFYREADRAWDATA.filter.notification.is.not.supported.in.IIS.10 (Rule)

Knowledge Base article:

Sammanfattning

Internet Information Services (IIS) ISAPI (Internet Server Application Programming Interface) anslutningar och filter kan förlänga och ändra begäran av processmöjlighter i IIS. ISAPI filter kräver en lång tid för att skrivas erbjuder inget inbyggt stöd för sessionshantering och kan vara besvärliga att underhålla. IIS 6.0 och IIS 10 kör ISAPI-programmen separat för att förbättra serverns stabilitet. ISAPI-filter kan fortfarande användas i IIS 10 men det är enklare för utvecklare att lägga till hanterande eller inbyggda moduler som kan integreras i IIS 10:s nya modulbaserade arkitektur.

Lösningar

SF_NOTIFY_READ_RAW_DATA stöds inte i IIS 10

IIS 10 har inte längre stöd för SF_NOTIFY_READ_RAW_DATA-meddelandet för ISAPI-filter. Om du måste använda ett ISAPI-filter som kräver detta meddelande måste du köra filtret på IIS 6.0 i IIS 5.0-isoleringsläge (observera dock att detta inte rekommenderas). Mer information finns i artikeln Information om ISAPI-filter som registrerar SF_NOTIFY_READ_RAW_DATA-händelsen i Internet Information Services version 6.0.

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.10.0.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.10.0.GenerateAlertAction.SuppressedByDescription Default

Source Code:

<Rule ID="Microsoft.Windows.InternetInformationServices.10.0.SFNOTIFYREADRAWDATA.filter.notification.is.not.supported.in.IIS.10" 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>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.10.0.GenerateAlertAction.SuppressedByDescription">
<Priority>1</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.Windows.InternetInformationServices.10.0.SFNOTIFYREADRAWDATA.filter.notification.is.not.supported.in.IIS.10.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>