BizTalk RFID: Error Exception While Closing Device

Microsoft.BizTalk.R2.BizTalkRFID.ExceptionWhileClosingDevice (Rule)

BizTalk RFID Rule: Error Exception While Closing Device.

Knowledge Base article:

Summary

There was an error while closing the device, which might cause subsequent device connections to fail.

Causes

Not Available

Resolutions

Try to open the device through RFID Manager (e.g. get properties for that device). If this fails, then the user might have to physically check (or perhaps even reboot) the device to make it accessible by the service.

Configuration

Not Available

Additional

Not Available

External

Not Available

Element properties:

TargetMicrosoft.BizTalk.R2.BizTalkRFID.Service
CategoryEventCollection
EnabledTrue
Event_ID1008
Event SourceMSBizTalkRFID
Alert GenerateTrue
Alert SeverityWarning
Alert PriorityHigh
RemotableTrue
Alert Message
BizTalk RFID: Error Exception While Closing Device
{0}
Event LogApplication

Member Modules:

ID Module Type TypeId RunAs 
Microsoft.BizTalk.R2.BizTalkRFID.ExceptionWhileClosingDevice.DataSource DataSource Microsoft.Windows.EventProvider Default
GenerateAlert WriteAction System.Health.GenerateAlert Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectEvent Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishEventData Default

Source Code:

<Rule ID="Microsoft.BizTalk.R2.BizTalkRFID.ExceptionWhileClosingDevice" Target="Microsoft.BizTalk.R2.BizTalkRFID.Service" ConfirmDelivery="true">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="Microsoft.BizTalk.R2.BizTalkRFID.ExceptionWhileClosingDevice.DataSource" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">MSBizTalkRFID</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="UnsignedInteger">EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="UnsignedInteger">1008</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectEvent"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishEventData"/>
<WriteAction ID="GenerateAlert" TypeID="Health!System.Health.GenerateAlert">
<Priority>2</Priority>
<Severity>1</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.BizTalk.R2.BizTalkRFID.ExceptionWhileClosingDevice.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SuppressionValue>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
<SuppressionValue>$Data/PublisherName$</SuppressionValue>
<SuppressionValue>$Data/Params/Param[1]$</SuppressionValue>
<SuppressionValue>$Data/Params/Param[2]$</SuppressionValue>
</Suppression>
<Custom1>RFID Alerts</Custom1>
</WriteAction>
</WriteActions>
</Rule>