Receiving from MSMQ Queue

G

Guest

Hi,
I have a strange trouble. My application sends messages to a local MSMQ
Queue (say 'A') and I use a listener (a windows service) to move the messages
to another local queue (say 'B') and my application polls for messages in 'B'
and receives them successfully.

Then, I moved the Windows Service to a remote machine and configured my
application to send messages to a queue (say 'R') in that remote machine. I
excpected the Windows Service to pick messages from 'R' which effectively is
local to it. But it throws an exception "Format Name is invalid".

I'm giving the queue path for 'R' like this...
"FormatName:DIRECT=OS:localhost\Private$\R" ... for the receive by the
Windows Service... (which gives the problem)

and as "FormatName:DIRECT=OS:ServerName\Private$\R" ... for my application
to send to that remote queue.. which happens properly...

What could be the problem and what is solution...

Thanks

Kishore
 

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