473,830 Members | 2,195 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to create queue at remote machine?


--
bfgbcbcxvbcxbcx vbcxbxcbxcbcfds gsdgfsdgx
Nov 16 '05 #1
2 2396
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.Messagin g 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.co m
"deepak" <de*********@di scussions.micro soft.com> wrote in message
news:56******** *************** ***********@mic rosoft.com...

--
bfgbcbcxvbcxbcx vbcxbxcbxcbcfds gsdgfsdgx

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:DIRE CT=OS:MachineNa me\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.Messagin g 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.co m
"deepak" <de*********@di scussions.micro soft.com> wrote in message
news:56******** *************** ***********@mic rosoft.com...

--
bfgbcbcxvbcxbcx vbcxbxcbxcbcfds gsdgfsdgx


Nov 16 '05 #3

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

Similar topics

5
3171
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 SMTP set (either alias or remote) then I get an error on page. But if I set these, the email just sits on the queue. I have been trying to work it out from other posts and forums, aspFAQ etc but with no joy.
1
1508
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 installed on my machine. Thanks. M
8
2847
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 that remote machine. I have also review many MSDN and codeproject.com articles. Any help would be great. Thanks, Derek
1
2271
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 = MessageQueue.create("FormatName:DIRECT=OS:ella\private$\newq"); i encountered an error: unable to create queue. please advise.
1
8666
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 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...
2
8880
by: deepak | last post by:
how to create msmq queue at remote machine? n how to send messege to remote queue? -- deepak
6
11489
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 MessageQueue.Create("FormatName:DIRECT=OS:MachineName\\QueueName"); or MessageQueue.Create("MachineName\\QueueName");
0
2137
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 = MessageQueue.Create("FormatName:DIRECT=OS:AppServer\private$\" & Me.TextBox1.Text)
3
2404
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 by VS2005 installed on my server, no problem, but if i try to do same remotely using http, I got "Unable to create the Web 'http://computer.aaa.com/MySite'. You are not authorized to perform the current operation."
0
9641
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
10769
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10199
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9312
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7741
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
6948
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
5778
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3956
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3073
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.