C # issues with MSMQ sending a proprietary queue message remotely over HTTP

Source: Internet
Author: User
Tags msmq

Both computers are operating systems that are Windows Server 2008
Msmq+http support is installed on both computers
The firewalls of both computers are all shut down
Local ip:192.168.1.104
Remote ip:192.168.1.142
To establish a private queue remotely: Test
Code to send the message locally:
System.Messaging.MessageQueue MQ =
New System.Messaging.MessageQueue ("Formatname:direct=http://192.168.1.142/msmq/private$/test");
Mq. Send ("Hello");
But the remote computer is not receiving this information.
The outgoing queue in local MSMQ shows that "Formatname:direct=http://192.168.1.142/msmq/private$/proxylog" is waiting for a connection, but the message is slow to one less
Can you tell me how to solve this problem?

===========================================================

Finally figured out, the root cause of the problem is this.

After you install the IIS services and MSMQ features on Windows Server 2008, an MSMQ default network is established under the Default Web site for IIS.

If the default Web site for IIS is deleted, the default MSMQ network cannot be established and the information cannot be accepted.

Conclusion: Do not delete the default Web site to use Msmq,iis. Otherwise, IIS can only be re-installed.

C # issues with MSMQ sending a proprietary queue message remotely over HTTP

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.