Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sending message to message queue on my machine.....Error "Invalid queue path name" [closed]

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.

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.

like image 794
Bill Blankenship Avatar asked Sep 04 '12 22:09

Bill Blankenship


1 Answers

Check the spelling of your queue name format.

If you use something like

YOURMACHINENAME\private$\YourQueueName

you should instead try this:

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

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

like image 157
Jens H Avatar answered Sep 28 '22 16:09

Jens H