WWW tjänsten misslyckades med valideringen

Microsoft.Windows.InternetInformationServices.6.2.WWW.service.property.failed.range.validation (Rule)

Knowledge Base article:

Sammanfattning

Internet Information Services (IIS) Windows Process Activation Service (WAS) Configuration Manager hanterar konfiguration av programpoolerna och protokolladaptrar som den upprätthåller. Om WAS får problem när den läser av konfiguration eller reagerar på konfigureringsändringsindikatorer, konfigurationsändringar för de enheter som den förvaltar får inte behandlas.

Lösningar

Korrigera en konfigurationsegenskap med hjälp av IIS-hanteraren

För att lösa detta problem, använd IIS-hanteraren för att ändra konfigurationsinställningarna för egenskapen som anges i händelseloggen till ett giltigt värde. Giltiga värden för IIS 8-konfiguration finns online på IIS 8: IIS-inställningsschema.

För att korrigera en konfigurering med hjälp av IIS-hanteraren

Konfigurationsexempel

Du får följande händelsemeddelande:

Sajten' '1' har ett ogiltigt värde för 'truncateSize'. Det konfigurerade värdet '400' är ogiltigt. Värdet sätts automatiskt till '20971520'.

För att lösa detta, följ följande steg:

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.WebServer
CategoryAlert
EnabledTrue
Event_ID5067
Event SourceMicrosoft-Windows-WAS
Alert GenerateFalse
RemotableTrue
Event LogSystem

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.WWW.service.property.failed.range.validation" 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>System</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Microsoft-Windows-WAS</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>5067</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.WWW.service.property.failed.range.validation.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>