Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我尝试使用下面给出的代码从 loacl 机器获取私有队列列表时,我能够获取队列列表。
System.Messaging.MessageQueue.GetPrivateQueuesByMachine(字符串机器名)
但是当我尝试从远程机器访问队列列表时出现错误
远程计算机不可用。
我可以访问远程机器。
我已经检查了队列的权限,似乎它具有完全控制权。
还有什么我需要检查的。我不知道是什么原因。有人知道吗?
检查您尝试获取队列列表的机器中的防火墙设置。它可能会阻止远程访问队列。