Home > Net >  C # to remote MSMQ message queue sends a message
C # to remote MSMQ message queue sends a message

Time:11-18

Goal: through cable connection server (Windows 10 professional edition computer), realize the c # Winform procedure (Windows 7) sends a message to dedicated server MSMQ the queue,

1, two computers via Ethernet cable connection, IP address in the uniform segment 192.168.1. XXX, can successfully ping
2. Two computers have started the MSMQ,
3. Two computers to their respective local queue to send information successfully, but the computer send information program A computer to B sent successfully, but the information has been reported in the local queue


This is the code to send



On the server dedicated queue access to sufficient, EveryOne and AnonYmouseLogo permissions are all full control of




In the default IIS MSMQ also in page, blogs, online data checked a heap of the Settings are set, one computer to another computer and just wait...
Bosses to reassure genuflect is begged!

CodePudding user response:

Long time no play this queue, you see the inside of the queueName is private this will there be affected? There should be public!

CodePudding user response:

Never used,
But should be with the program it doesn't matter, your program has to send a message to outgoing queue,
Outgoing queue to connect another computer go wrong, it is not prompted to create the connection fails, key check, such as firewall ports, or A to B port what deserve to correct, or have any rights configuration, such as
Other don't know,

CodePudding user response:

His casual writing service deployment, many times is convenient and quick,

CodePudding user response:

refer to stumble into a man of all ages 2 floor response:
used,
But should be with the program it doesn't matter, your program has to send a message to outgoing queue,
Outgoing queue to connect another computer go wrong, it is not prompted to create the connection fails, key check, such as firewall ports, or A to B port what deserve to correct, or have any rights configuration, such as
Other don't know,


Firewall has been closed, all in accordance with the information, I'll find the MSMQ message queue only need to change the IP address for the same network segment is ok, did not configure port number, permissions have been set to complete control of the

CodePudding user response:

reference 1/f, hands on the keyboard to knock very light response:
haven't play this queue, you see the inside of the queueName is private this will there be affected? There should be public!


This will not affect, private is private queue, normal user group as long as there are paths can be sent in the past, the public is public queue, need to use in the field

CodePudding user response:

Look at the socket failure where IP port is what, then go to the end of the netstat to see if there is a listening port, or look for the queue service do you have any other log can see,
reference 4 floor g 厃 system response:
Quote: refer to the second floor stumble into a man of all ages reply:

Never used,
But should be with the program it doesn't matter, your program has to send a message to outgoing queue,
Outgoing queue to connect another computer go wrong, it is not prompted to create the connection fails, key check, such as firewall ports, or A to B port what deserve to correct, or have any rights configuration, such as
Other don't know,


Firewall has been closed, all in accordance with the information, I'll find the MSMQ message queue only need to change the IP address for the same network segment is ok, did not configure port number, permissions have been set to complete control of the

CodePudding user response:

Has something to do with computers, it is my laptop, I even don't, don't send message, try to directly connect server yesterday, actually connected,,, I don't know for fur... The problem such as the end of the project cycle study again, to catch the project schedule...... This post with the first, you have the solution please tell great god, later I will check information, finally will be according to the directions of content, the thank you!
  •  Tags:  
  • C#
  • Related