WAS upptäckte ogiltig konfigureringsdata

Microsoft.Windows.InternetInformationServices.6.2.WAS.detected.invalid.configuration.data (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 en konfiguration eller reagerar på meddelanden om konfigureringsändringar för de enheter som den hanterar behandlas eventuellt inte.

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 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.WAS.detected.invalid.configuration.data" 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>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(5174|5179|5180)$</Pattern>
</RegExExpression>
</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.WAS.detected.invalid.configuration.data.AlertMessage"]$</AlertMessageId>
</WriteAction>
</WriteActions>
</Rule>