Invalid configuration parameter monitor

Microsoft.Windows.DfsReplication.InvalidConfigParameterMonitor (UnitMonitor)

This monitor checks whether the DFS Replication service on the monitored computer encountered an invalid configuration parameter either in Active Directory Domain Services (AD DS) or in a locally stored XML configuration file.

Knowledge Base article:

Summary

The DFS Replication service may register this event if it detects an invalid parameter in its configuration in Active Directory Domain Services (AD DS) or in the XML file on the affected computer containing computer-specific configuration.

Event: 6008

Anti-event: 6014, 6608, 6604, 1004, 1104

Causes

This error may be caused by an invalid string or parameter in the AD DS configuration or in the specified XML configuration file maintained by the service on the affected computer.

Resolutions

Check the event text to locate the source of the invalid configuration. If the source is an XML configuration file maintained by the DFS Replication service on the affected computer, deleting that file may help resolve the issue. If the source is AD DS, check to see if the configuration stored in AD DS is consistent on the specified domain controller. Often this type of problem may be caused by Active Directory replication latencies. In such cases, waiting for replication to complete may resolve this issue.

The service will try polling AD DS again in a few minutes. When the problem is resolved, event 6014 will be displayed.

Note: If the service is restarted before the problem is corrected, the success event will not be displayed.

If the issue does not resolve itself, delete the configuration causing the error and reconfigure.

Additional

For more information, see http://go.microsoft.com/fwlink/?LinkId=52880

Element properties:

TargetMicrosoft.Windows.DfsReplication.Service
Parent MonitorSystem.Health.ConfigurationState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.2SingleEventLog2StateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
DFS Replication service detected a bad parameter in configuration
The DFS Replication service detected a bad parameter in {0} {1} configuration.
The parameter <{2}> is {3}. The service cannot recover from this error and will
disable the {4} in question until the parameter is fixed. Additional Information: Parameter: <{5}> {6}
Config Source: {7}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.DfsReplication.InvalidConfigParameterMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.DfsReplication.Service" ParentMonitorID="Health!System.Health.ConfigurationState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.2SingleEventLog2StateMonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Windows.DfsReplication.InvalidConfigParameterMonitor_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Params/Param[1]$</AlertParameter1>
<AlertParameter2>$Data/Context/Params/Param[2]$</AlertParameter2>
<AlertParameter3>$Data/Context/Params/Param[3]$</AlertParameter3>
<AlertParameter4>$Data/Context/Params/Param[4]$</AlertParameter4>
<AlertParameter5>$Data/Context/Params/Param[5]$</AlertParameter5>
<AlertParameter6>$Data/Context/Params/Param[3]$</AlertParameter6>
<AlertParameter7>$Data/Context/Params/Param[4]$</AlertParameter7>
<AlertParameter8>$Data/Context/Params/Param[6]$</AlertParameter8>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="FirstEventRaised" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
<OperationalState ID="SecondEventRaised" MonitorTypeStateID="SecondEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>DFS Replication</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">6008</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DFSR</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>DFS Replication</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">DFSR</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<Or>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">6608</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">6604</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">6014</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1004</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1104</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</Or>
</Expression>
</And>
</SecondExpression>
</Configuration>
</UnitMonitor>