MSMQ Vista x64
我的系统上运行的是 Vista Ultimate x64。 我有一个在远程服务器上运行良好的应用程序,用于将消息发送到在其上运行的 MSMQ 实例。 当我将应用程序带到本地系统并尝试发送消息时,它不会发送,但也不会出错。 我什至尝试设置一个本地 MSMQ 实例,同样的情况也发生在该实例上 - 没有错误,但也没有消息。 队列是事务性的,代码本身也是基于事务的。
有什么建议么? 我尝试实现日志选项(假设这就像日志记录),但它不记录任何内容。
我仔细研究了事件查看器,看到的唯一错误(实际上是警告)是:
MSDTC 在尝试与系统 [ComputerName] 建立安全连接时遇到错误 (HR=0x80000171)
所有标准的东西已经过检查,比如防火墙、MSMQ 是否正在运行等,当我将应用程序(未更改)放在远程服务器上时,它 100% 的时间都可以工作。
I am running Vista Ultimate x64 on my system. I have an application that works fine on a remote server to send messages to the MSMQ instance running on it. When I bring the application to my local system and attempt to send a message it doesn't send, but doesn't error out either. I even tried setting up a local MSMQ instance and the same happens with that one - no errors, but no messages either. The queues are transactional and the code itself is transaction-based.
Any suggestions? I tried implementing the journal option (assuming this is like logging) and it doesn't record anything.
I dug through event viewer and the only error I am seeing (actually it's a warning) is:
MSDTC encountered an error (HR=0x80000171) while attempting to establish a secure connection with system [ComputerName]
All the standard stuff has been checked like firewalls, is MSMQ running, etc and when I put the app, unaltered, on the remote server it works 100% of the time.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
问题不直接与 MSMQ 相关。 您正在使用事务队列,这需要正确设置和配置 MSDTC。
The problem is not with MSMQ directly. You are using transactioning queuing which requires MSDTC to be setup and configured correctly.