0

我在处于工作组模式的服务器上使用 Anonymous、Everyone、NetworkService 完全控制创建了私有队列。我可以使用 .net 存根发送消息而没有任何问题,因为它在接收消息时抛出异常。我尝试使用

Message.Receive()并且Message.ReceiveByID()都抛出异常。我尝试按照以下链接中的说明添加注册表项,但它不起作用

https://blogs.msdn.microsoft.com/johnbreakwell/2007/01/15/msmq-3-0-too-secure-for-you/

MessageQueue messageQueue = new MessageQueue(queueFormatPath); var message = messageQueue.Receive();

MyMessageQueue.ReceiveById(e.Message.Id);

例外: 在此处输入图像描述

4