URL non valido mappato alla coda.

Microsoft.MSMQ.10.0.Rule.Alert.Event2161 (Rule)

Knowledge Base article:

Riepilogo

URL non valido mappato alla coda.

Cause

La coda indicata nell'evento non ha un nome di coda in stile URL formata correttamente in un file di mapping SFD MSMQ.

Soluzioni

Verificare l'esistenza di una coda valida

Di seguito sono riportati alcuni esempi di formato nome validi:

Nota: in questi esempi, IndirizzoComputer può essere specificato come il nome, l'URL HTTP o l'indirizzo IP associato al computer di destinazione.

Per eseguire questa procedura, è necessario appartenere al gruppo Administrators oppure avere ricevuto in delega l'autorità appropriata.

Per correggere il nome della coda:

Informazioni aggiuntive

Per altre informazioni sulla creazione di nomi di formato della coda validi, vedere Nomi delle code ( http://go.microsoft.com/fwlink/?LinkId=104739).

Per altre informazioni, vedere l'ID evento 2161 ( http://technet.microsoft.com/it-it/library/dd337521(WS.10).aspx)

Element properties:

TargetMicrosoft.MSMQ.10.0.Queues
CategoryAvailabilityHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
URL non valido mappato alla coda.
{0}
Event LogApplication

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.EventProvider Default
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.MSMQ.10.0.Rule.Alert.Event2161" Enabled="false" Target="Microsoft.MSMQ.10.0.Queues" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>AvailabilityHealth</Category>
<DataSources>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.EventProvider">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventSourceName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Host/Property[Type="Microsoft.MSMQ.10.0.ServerRole"]/ServiceName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>2161</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">Params/Param[2]</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">$Target/Property[Type="Microsoft.MSMQ.10.0.Queue"]/PathName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertOwner/>
<AlertMessageId>$MPElement[Name="Microsoft.MSMQ.10.0.Rule.Alert.Event2161.AlertName"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/EventDisplayNumber$</SuppressionValue>
<SuppressionValue>$Data/LoggingComputer$</SuppressionValue>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>