473,396 Members | 1,990 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,396 software developers and data experts.

how to create queue at remote machine?


--
bfgbcbcxvbcxbcxvbcxbxcbxcbcfdsgsdgfsdgx
Nov 16 '05 #1
2 2374
deepak,

Do you mean a message queue? If you want to create a public queue, then
you could probably use the static Create method on the MessageQueue class in
the System.Messaging namespace. I believe that you can specify the format
name in a manner which will indicate which remote machine to create the
public queue on.

However, if you want to create a private queue, you can not do that.
Private queues can only be created on the local machine, not remotely (check
the documentation for the MQCreateQueue API function).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"deepak" <de*********@discussions.microsoft.com> wrote in message
news:56**********************************@microsof t.com...

--
bfgbcbcxvbcxbcxvbcxbxcbxcbcfdsgsdgfsdgx

Nov 16 '05 #2
I have already used formatname to create public queue at remote m/c but its
giving error as
@"Cannot create a queue with the path FormatName:DIRECT=OS:MachineName\newq."
"Nicholas Paldino [.NET/C# MVP]" wrote:
deepak,

Do you mean a message queue? If you want to create a public queue, then
you could probably use the static Create method on the MessageQueue class in
the System.Messaging namespace. I believe that you can specify the format
name in a manner which will indicate which remote machine to create the
public queue on.

However, if you want to create a private queue, you can not do that.
Private queues can only be created on the local machine, not remotely (check
the documentation for the MQCreateQueue API function).

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"deepak" <de*********@discussions.microsoft.com> wrote in message
news:56**********************************@microsof t.com...

--
bfgbcbcxvbcxbcxvbcxbxcbxcbcfdsgsdgfsdgx


Nov 16 '05 #3

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

Similar topics

5
by: Stuart Palmer | last post by:
Hi, I am trying to get cdo.message working on my home development machine, however, when I send it it appears to get stuck in the queue and never actually gets sent. If I don't have a domain...
1
by: Mailstore | last post by:
Hi, This is the first time im working with MSMQ, so a very basic question. If I want to send a message to a queue that already exists on a remote machine, do I need to have message queuing...
8
by: DerekS | last post by:
Hi, I've been pulling my hair out trying to write a simple method to programatically create a system DSN with all parameters on a remote machine. I have ensured I have the correct permissions on...
1
by: baby ell | last post by:
I'm accessing a private queue in another machine and if the queue does not exists in that machine, i would like to create the private queue. Example: MessageQueue newmsg =...
1
by: Kishore Gopalan | last post by:
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...
2
by: deepak | last post by:
how to create msmq queue at remote machine? n how to send messege to remote queue? -- deepak
6
by: deepak | last post by:
I have to create message queue at remote machin. My code works properly when i use console application in c#. But it throws exception whenever i try it on web application in c#. My code is ...
0
by: Marcus | last post by:
Hello All, I am trying to create a private MSMQ message queue on a remote application server from an asp.net application using the following code: Dim queue As MessageQueue queue =...
3
by: purkka | last post by:
Hi I replaced a Win 2000 Adv server to the Win 2003 Std with Front Page Server Extension and .Net Framework 2.0. FPSE is extended to Default Web Site. Visual Studio 2005: If I create a new web...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.