Re: Message queues
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Fri, 29 Feb 2008 16:38:53 -0700
Simon,
You know everything. :-)
Paul T.
"Simon Hart [MVP]" <srhartone@xxxxxxxxx> wrote in message
news:35C3C7D8-7973-466E-BDDF-4EB3F9E33E52@xxxxxxxxxxxxxxxx
Are you running the following line:
MessageQueue.Exists(@"david-1\private$\callerid") on a remote machine (not
on
david-1)? if so this is not supported for private queues. Checking the
existence of remote queues can only be done if the queue is public - in
which
case active directory is required.
When executing the Exists method on a local machine the proper syntax is:
MessageQueue.Exists(@".\private$\callerid").
Period '.' meaning localhost machine.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com
"David" wrote:
I have replaced the david-1 with the ip address of david-1, 10.0.0.20,
with
the same results.
I now have a simple client on another Vista-32 machine. All I do is call:
MessageQueue.Exists(@"david-1\private$\callerid")
I get an error stating that I have an invalid queue path name. What is
wrong
with my path?
"Simon Hart [MVP]" <srhartone@xxxxxxxxx> wrote in message
news:7A629786-B5B2-4889-81A3-A11F96ABF6C5@xxxxxxxxxxxxxxxx
Try using the IP address instead of OS and netbios name. IE:
FormatName:DIRECT=TCP:192.168.0.1\private$\callerid
Where the 192.168.0.1 is your IP of you machine. You could even see if
ppp_peer works for the IP (not sure if it would).
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com
"David" wrote:
This is all .NET 3.5 with Visual Studio 2008
I have a simple app on Windows Vista-64 that creates a messaging
queue.
FormatName:DIRECT=OS:david-1\private$\callerid.
The app then writes a couple of entries. I have verified that the
entries
have been correctly created with the Computer Management tool.
I now have a simple app written for the compact framework on an HP
iPAQ
HP
2790. MSMQ has been installed on it. When I call
MessageQueue.Exists(@"david-1\private$\callerid"), it returns false. I
can
call this code:
IPAddress[] addresses =
Dns.GetHostEntry("david-1").AddressList;
and the correct address comes back so I know networking and dns are
working
properly.
Is there something special that I have to do on the Vista-64 machine
or
on
the iPAQ to make this work?
.
- Follow-Ups:
- Re: Message queues
- From: Simon Hart [MVP]
- Re: Message queues
- References:
- Re: Message queues
- From: Simon Hart [MVP]
- Re: Message queues
- Prev by Date: Re: Message queues
- Next by Date: Rotate Image
- Previous by thread: Re: Message queues
- Next by thread: Re: Message queues
- Index(es):
Relevant Pages
|
|