La notifica di filtro SF_NOTIFY_READ_RAW_DATA non è supportata in IIS 10

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

Knowledge Base article:

Riepilogo

Le estensioni e i filtri ISAPI (Internet Server Application Programming Interface) di Internet Information Services (IIS) possono estendere e modificare le funzionalità di elaborazione delle richieste di IIS. I filtri ISAPI possono richiedere tempi di scrittura molto lunghi, non offrono supporto nativo per la gestione delle sessioni e possono risultare pesanti da gestire. IIS 6.0 e IIS 10 eseguono le applicazioni ISAPI in isolamento per garantire la stabilità del server. Sebbene i filtri ISAPI possano ancora essere usati in IIS 10, per gli sviluppatori è più facile aggiungere moduli gestiti o nativi che si integrano nella nuova architettura modulare di IIS 10.

Soluzioni

SF_NOTIFY_READ_RAW_DATA non supportato in IIS 10

IIS 10 non supporta più la notifica SF_NOTIFY_READ_RAW_DATA per i filtri ISAPI. Se si deve usare un filtro ISAPI che richiede questa notifica, eseguire il filtro in IIS 6.0 in modalità di isolamento IIS 5.0 (tenere tuttavia presente che non si tratta di una procedura consigliata). Per altre informazioni, vedere l'articolo Informazioni sui filtri ISAPI che registrano l'evento SF_NOTIFY_READ_RAW_DATA in Internet Information Services 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>