[英]WCF and MsmqBinding to remote private queue
We have a WCF log service that uses MsmqBinding and WAS. 我们有一个使用MsmqBinding和WAS的WCF日志服务。 The issue is that I try to use it from remote computer and that message seems to never reach the destination queue.
问题是我尝试从远程计算机使用它,并且该消息似乎永远不会到达目标队列。 Here are the facts :
这是事实:
and the worth is : 价值是:
var queue = new MessageQueue(@"FormatName:DIRECT=OS:logserver.domain.ext\private$\logservice.svc");
queue.Send("hello");
works ! 工程!
You do not mention permissions for the ANONYMOUS LOGON account. 您没有提及“匿名登录”帐户的权限。 This is the account that remote private queue access will happen under if you are not explicitly using Windows security on the binding.
如果您未在绑定上明确使用Windows安全性,则将使用该帐户进行远程专用队列访问。
I was facing the same issue, and it turned out that the issue was with Distributed Transaction Coordinator configuration. 我遇到了同样的问题,事实证明该问题与分布式事务处理协调器配置有关。 This MSDN document helped me solve it.
这个MSDN文档帮助我解决了这个问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.