WWW 服务属性值域验证失败

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

Knowledge Base article:

摘要

Internet Information Services (IIS) Windows Process Activation Service (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>