ServiceBus Error when using Hybrid Connection mode

Damir Dobric Posts

Next talks:

 

    

Follow me on Twitter: #ddobric



 

 

Archives

When trying to setup the connection mode of the rely binding to ‘Hybrid’ following exception might occur:

Invalid configuration. Unable to use transport protection with Hybrid mode.

This exception is thrown if you try to setup transport security when using hybrid connection mode.
Following configuration can cause this error:

  <bindings>

      <netTcpRelayBinding>

        <binding name="hybridBinding" connectionMode="Hybrid">

         </binding>

      </netTcpRelayBinding>

    </bindings>

To workaround this disable transport security which is by default enabled:

<bindings>

      <netTcpRelayBinding>

        <binding name="hybridBinding" connectionMode="Hybrid">
         
 
<security mode="None"/>

        </binding>

      </netTcpRelayBinding>

    </bindings>

netTcpBinding does not support transport security when connection mode is set to Direct.

Hope this helps.


Posted Apr 06 2011, 11:17 AM by Damir Dobric
developers.de is a .Net Community Blog powered by daenet GmbH.