Reputation: 6877
I am unable to create a queue on a remote server and the error i get is :
Cannot create a queue with the path FormatName:DIRECT=OS:server\private$\q
the code is as below:
Dim q As MessageQueue
q = MessageQueue.Create("FormatName:Direct=OS:Server\private$\queue")
I have tried with OS, TCP, HTTP and all the possible options given here but I have not been able to create a queue on remote machine. I am running Win 7 Enterprise on my dev box and Win Server 2003 R2 on the MSMQ server.
Am i missing some security / permission settings on the server or some other configuration ? would appreciate any help possible.
Upvotes: 2
Views: 6399
Reputation: 4687
You cannot create remote private queues.
You will need to manually create them at the remote machine or run a process there that does what you need.
Upvotes: 4
Reputation: 10684
You cannot create remote queues. Look at MessageQueue.Create Method documenatation.
Upvotes: 1