Sunucu tarafı içerik dosyasını işlerken HTTP sunucusu bir hata ile karşılaştı

Microsoft.Windows.InternetInformationServices.6.2.The.HTTP.server.encountered.an.error.processing.the.server.side.include.file (Rule)

Knowledge Base article:

Özet

Etkinliklerini başarıyla gerçekleştirebilmesi için Internet Information Services (IIS) World Wide Web Yayımlama Hizmeti (W3SVC); dosya erişimi, bellek kullanılabilirliği ve ağ bağlantıları dahil olmak üzere hiçbir G/Ç hatasıyla karşılaşmamalıdır. Ayrıca, kullanılan tüm komut dosyaları erişilebilir ve çalışır durumda olmalıdır ve içerik dosyaları düzgün şekilde yapılandırılmalıdır.

Çözümler

SSI (sunucu tarafı içermeleri) dosyasını denetleme

Olası çözümler aşağıda verilmiştir:

Belirli bir hata numarasını denetleme

Belirli bir hata numarası olup olmadığını denetlemek için:

Belirli bir hata numarası hakkında daha fazla bilgi edinme

Belirli bir hata numarası hakkında daha fazla bilgi edinmek için:

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.WebServer
CategoryAlert
EnabledTrue
Event_ID2218
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.The.HTTP.server.encountered.an.error.processing.the.server.side.include.file" 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>2218</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.HTTP.server.encountered.an.error.processing.the.server.side.include.file.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>