Vikram
Vikram

Reputation: 6877

Cannot create private message queue on remote server

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

Answers (2)

John Breakwell
John Breakwell

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

Igal Serban
Igal Serban

Reputation: 10684

You cannot create remote queues. Look at MessageQueue.Create Method documenatation.

Upvotes: 1

Related Questions