Click to See Complete Forum and Search --> : MSMQ Receive


Chris W
February 6th, 2001, 12:44 PM
Hi,

Has anyone had problems receiving MSMQ messages on Win 2k, I am able send messages, create queues locally and remotely and receive from local queues, but any attempt to receive from a remote queue is met with "The remote computer is not available", even though the existence of the queue has just been verified (presumably by contacting the remote computer). I'm using MSDN samples at this stage - so I’m not expecting it to be a bug, more likely an administration / security issue - any help / thoughts appreciated.

Thanks in advance

Chris Woodcock

pmoss
March 22nd, 2001, 10:01 AM
I assume you are doing peer-to-peer kind of queueing using private queues. If so, you can use the MSMQQueueInfo.FormatName to specify the queue location in the format
"DIRECT=OS:machinename\PRIVATE$\qname"
where machinename is the host name, and qname is the name of the queue you are trying to connect to.