Error: “Invalid queue path name” Exception using MSMQ Remote Queue

If you are getting the error “Invalid queue path name” from C# or other language, it could be that when reference a remote queue, you need to add the “FormatName:DIRECT:OS:” on the front,

Instead of:


MyServer\private$\MyQueue

Prefix it as shown below


FormatName:DIRECT=OS:MyServer\private$\MyQueue

For more details, see “Manabu Tokunaga blog” or “Stack Overflow”

Uncategorized  

Leave a Reply