WWW 服務內容的範圍驗證失敗

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

Knowledge Base article:

摘要

Internet Information Services (IIS) Windows 處理序啟用服務 (WAS) 組態管理員負責管理應用程式集區的組態和其維護的通訊協定介面卡。若 WAS 在讀取組態或回應變更通知時發生問題,便可能無法處理其所管理之實體的組態變更。

解決方式

使用 IIS 管理員來修正設定內容

若要解決此問題,請使用 IIS 管理員將事件記錄訊息中指定的內容的設定設定變更為正確的值。您可以在線上取得 IIS 8 設定的有效值: IIS 8:IIS 設定結構描述

使用 IIS 管理員來編輯設定:

設定範例

你收到以下事件訊息:

「站台 1」的 'truncateSize' 內容值無效。設定值 '400' 無效。值將預設為 '20971520'。

若要解決此問題,請按照下列步驟進行:

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>