正在将消息发送到我的计算机上的消息队列中. [英] Sending message to message queue on my machine.....Error "Invalid queue path name"

查看:146
本文介绍了正在将消息发送到我的计算机上的消息队列中.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将消息发送到我在运行Windows Server 2008 R2的计算机上创建的标准消息队列中.

I am sending a message to a pretty standard message queue that I have created on my machine running Windows Server 2008 R2.

QueueName:
directionsTest
MachineName:
usernameDev

当我尝试将消息发送到队列时,收到错误消息. :

When I attempt to send the message to the queue, I receive the error. :

无效的队列路径名.

Invalid queue path name.

让我感到困惑的是,我实际上是通过SSMS查询窗口发送此消息的,我们已经存储了将这些消息发送到队列的过程,而我们只提供了机器名,队列名和消息.因此,这基本上是我使用过多次的保存查询,实际上,上周末我使用了完全相同的查询.从那时起,我一直没有更改查询/我的机器/队列/以及创建和发送这些消息的存储过程.所以,我不确定为什么这会给我这个错误.

Where I am perplexed is that I am actually sending this message via an SSMS query window, we have stored procedures that send these messages to queues and we just provide machine name, queue name, and the message. So, this is basically a saved query that I have used numerous times, in fact I used this exact same query at the end of last week. Since then I have not changed the query/my machine/ the queue/ and the stored procedure that creates and sends these messages have not changed. So, I am unsure why this is giving me this error.

我几乎在阳光下尝试了所有事情,尝试在计算机上创建新队列并收到相同的错误.我还确保每个人都可以访问这些队列.关于会导致此错误弹出的任何想法?我已经在网上进行搜索,但没有发现任何可能导致此问题的线索. (**我还测试了发送到不同服务器上的队列,并且可以正常运行)

I have tried just about everything under the sun, I have tried creating new queues on my computer and receive the same error. I have also ensured that everyone has all access to these queues. Any ideas on what would cause this error to just pop up? I have scoured the web and I have found no clues as to what could be causing this issue. (**I have also tested sending to queues on different servers and this works without error)

谢谢您的任何建议/指导.

Thanks for any advice/direction in advance.

推荐答案

检查队列名称格式的拼写.

Check the spelling of your queue name format.

如果您使用类似的东西

YOURMACHINENAME\private$\YourQueueName

您应该尝试以下操作:

FormatName:DIRECT=OS:YOURMACHINENAME\private$\YourQueueName

请注意,第一部分可能区分大小写.

Please note that the first part may be case-sensitive.

这篇关于正在将消息发送到我的计算机上的消息队列中.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆