wcf - 工作组模式下 WCF MSMQ 的配置

标签 wcf msmq configuration-files

在尝试部署服务时,我发现它无法启动,因为 MSMQ 处于工作组模式。我创建了一个专用队列,并更改了配置文件以引用它,但 WCF 服务主机拒绝以以下消息启动:

Binding validation failed because the binding's MsmqAuthenticationMode property is set to WindowsDomain but MSMQ is installed with Active Directory integration disabled.

谁能告诉我如何在配置文件中指定工作组模式?我在MSDN中找到的信息都是关于修改代码中的设置,并没有提到如何在配置文件中指定这一点。

在我拥有的配置文件中,绑定(bind)标记为空( <bindings /> ),但服务端点指定 binding="netMsmqBinding"我想这意味着正在使用默认配置。

最佳答案

当我们遇到这个问题时 <security mode="None">在测试环境中工作。

在最终交付期间,即使这样也不起作用..最后这个起作用了

<security>
<transport
msmqAuthenticationMode="None"
msmqProtectionLevel="None"/>
</security>

关于wcf - 工作组模式下 WCF MSMQ 的配置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/459815/

相关文章:

c++ - C/C++ Unix配置文件库

json - 如何在 Go 中管理文件内的状态?

c# - 确保服务连通性

powershell - 如何获取MSMQ专用队列的当前权限?

c# - 从队列中选择性读取-自定义MSMQ服务,ESB还是其他内容?

WCF 配置元素 : baseAddressPrefixFilters

c# - WCF 身份验证服务

c# - 如何从 json 序列化中排除特定类型

没有 SSL 但具有 Windows 组身份验证的 WCF 服务

c# - 在 2008R2 上正确使用 Message Queue