Opening Remote Queue Fails

G

Guest

Hi,
From .NET 2005 I'm attempting to open a remote MSMQ Q from a handheld PC
running WM5. When I open the Q using ...
New
System.Messaging.MessageQueue("FORMATNAME:DIRECT=OS:CRS1\private$\Captiva_FD_PC_Q", False)

The Queue error returns as:
The queue does not exist or you do not have sufficient permissions to
perform the operation.

Local queues can be opened without a problem. It's just the remote ones.
Note that the code is currently running on the WM5 virtual machine not a
physical device. The VM has beeng configured so that it knows the IP address
of the target machine is 192.168.0.111 which is a test address for a machine
that does not exist (Since I want to verify the store and forwarding
mechinisms.)

anyone any ideas?
Myles
 
I

Ilya Tumanov [MS]

This is correct way to do it and it should work. The only reason I could
think of you forgot to enable binary protocol.

Please see this for details:
http://blogs.msdn.com/ihimmar/archive/2004/06/14/154909.aspx


Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
G

Guest

OK Found the problem. I needed to do a MSMQADM Enable Binary to allow the
operation to complete normally.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top