473,385 Members | 1,218 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Receiving from MSMQ Queue

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

Nov 16 '05 #1
1 8631
Pretty sure that it won't be seen since it's a private queue

--
W.G. Ryan MVP (Windows Embedded)

TiBA Solutions
www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
"Kishore Gopalan" <Ki************@discussions.microsoft.com> wrote in
message news:EC**********************************@microsof t.com...
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

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Pete Loveall | last post by:
I have a server application that monitors a private local queue for messages. The message sent to it has a label and a response queue defined. It works correctly when the queue is accessed via...
2
by: Buddhi | last post by:
Hi I am developing a windows service which access queue. When i add the queue to my service and add a installer and install using the Installutil exe. it gives a error saying that the service...
0
by: Rudy | last post by:
I'm testing MSMQ 3.0 via HTTP. Our network configuration is as follows: A. Windows 2003 Server Edition in Site1 Queue messages are sent from here. B. Windows 2003 Web Edition in Site2 This...
10
by: Jet Leung | last post by:
Hi all, Where is the MSMQ use for? For example, I have a client program to control the database and how can I use MSMQ in my program? When I should use it? For example I have a method to insert...
14
by: Webbee | last post by:
I have a service built that is trying to read messages from a private que. When this tries to happen I get this error.... A workgroup installation computer does not support the operation From...
1
by: Richard Atkinson | last post by:
I would appreciate help on the Microsoft Message Queue. Basically I would like to Serialize an entire class into a message queue and then reinstantiate the class in another application from the...
3
by: Claudia | last post by:
Hi all... I'm working on a project that uses MSMQ as its core for inter-process communication. At the moment there is a single process that listens for inbound TCP-based messages on a socket,...
2
by: SammyBar | last post by:
Hi all, I'm trying to send a message from ASP.NET to another PC by using MSMQ. I created my ASP.NET project by using Visual Studio 2005 but I initially set the project to be located on the File...
1
by: Florence Tissot | last post by:
We are seeing some kind of resource leak in our performance lab running an ASP.NET (2.0) application that sends and receives messages from 2 public MSMQ queues. Here's a brief summary of what are...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.