Wcf – Config for WCF MSMQ in workgroup mode

configuration-filesmsmqwcf

In trying to deploy a service I have found that it won't start because MSMQ is in workgroup mode. I have created a private queue instead and changed the config files to refer to it, but the WCF service host refuses to start with this message:

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

Can anyone tell me how to specify workgroup mode in the config file? The information I find in MSDN is all about modifying the setting in code, and makes no mention of how to specify this in the config file.

In the config file that I have, the bindings tag is empty (<bindings />) yet the service endpoint specifies binding="netMsmqBinding" which I imagine means a default configuration is in use.

Best Answer

When we faced the issue <security mode="None"> worked in the test environment.

During final delivery , even that didn't work.. Finally this one worked

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