473,624 Members | 2,069 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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:DIR ECT=OS:localhos t\Private$\R" ... for the receive by the
Windows Service... (which gives the problem)

and as "FormatName:DIR ECT=OS:ServerNa me\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 8654
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.mi crosoft.com> wrote in
message news:EC******** *************** ***********@mic rosoft.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:DIR ECT=OS:localhos t\Private$\R" ... for the receive by the
Windows Service... (which gives the problem)

and as "FormatName:DIR ECT=OS:ServerNa me\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
7990
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 another program. However, when I attempt to Send a message from an ASP.NET VB page, I get "One or more of the passed properties are invalid." I have tried different combinations of the non-transactional Send() with no success. My Windows\Temp...
2
6256
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 failed to install because it can not determined wheather a queue with format name exists. My services installs properly with out the queue and it works fine. When I add the queue and try to install the problem happens. Please can any one help me.
0
1463
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 server has a public IP; In this PC is installed an ISAPI filter called ISAPIRewriter that forwards all HTTP messages to C.
10
18250
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 new record to the database and how can I use MSMQ in this method?
14
15870
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 what I read I need to have my system setup on a domain, is this correct? For my dev work I'm not going to have that envirorment available and everything is tested on one laptop. Is there anything I can do? Thank you
1
3654
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 message queue with all properties, variables etc in tact. What is the best way to do this ie which formatter to use and how do you deal with arrays collections properties etc defined in the class since there seems to be a limitation on what you...
3
3700
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, and when something is received it gets packaged up and sent to an MSMQ queue for further processing. The process on the listening end of this queue will process the message and either (a) send a response to the originator, or, (b) send an...
2
4613
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 System. Then I could successfully send, receive and purge the public queries I use to exchange information with the another PC. But when I realized I can not reach the file system created project from a third PC then I recreated the project as...
1
4765
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 application does: 1. user provides input on a form on an aspx page and clicks continues 2. on postback, the page creates a c# .net object and calls a method on it to process the data provided by the user 3. the object in turns creates an...
0
8174
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8624
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8336
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6111
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5565
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4082
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4176
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2607
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1786
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.