URL non valido mappato alla coda.
La coda indicata nell'evento non ha un nome di coda in stile URL formata correttamente in un file di mapping SFD MSMQ.
Verificare l'esistenza di una coda valida
Di seguito sono riportati alcuni esempi di formato nome validi:
HTTP://IndirizzoComputer/msmq/CodaPubblica
HTTP://IndirizzoComputer/msmq/private$\CodaPrivata
HTTPS://IndirizzoComputer/msmq/CodaPubblica
HTTPS://IndirizzoComputer/msmq/private$\CodaPrivata
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:
In Esplora risorse, passare a %windir%\System32\msmq\Mapping.
Aprire il file di mapping desiderato. Si noti che i file di mapping sono in formato .xml.
Individuare la coda indicata nell'evento e modificare il nome affinché abbia un formato corretto.
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)
Target | Microsoft.MSMQ.10.0.Queues | ||
Category | AvailabilityHealth | ||
Enabled | False | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Remotable | True | ||
Alert Message |
| ||
Event Log | Application |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Windows.EventProvider | Default |
GenerateAlert | WriteAction | System.Health.GenerateAlert | Default |
<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>