Cannot create private message queue on remote server

二次信任 提交于 2019-12-24 09:31:25

问题


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.


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/5063672/cannot-create-private-message-queue-on-remote-server

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!