Free Trial *Internet Service Required
Windows Azure Platform > Windows Azure – CTPs, Betas & Labs Forums > Service Bus EAI & EDI Labs Release > Error in serializing/deserializing the binding configuration. Make sure the binding is registered in machine.config. Parameter name: lobClientConfiguration

Answered Error in serializing/deserializing the binding configuration. Make sure the binding is registered in machine.config. Parameter name: lobClientConfiguration

  • Friday, December 16, 2011 8:05 PM
     
     

    Following error appears when in tutorial when creating new LOB relay. If I click Ok the following error appears:

    System.ArgumentException: Error in serializing/deserializing the binding configuration. Make sure the binding is registered in machine.config.
    Parameter name: lobClientConfiguration
       at Microsoft.ApplicationServer.Integration.AFConnect.Common.BindingSerializationHelper.SerializeConfigurationElement(ConfigurationElement lobClientConfiguration)
       at Microsoft.ApplicationServer.Integration.MetadataSearchBrowse.FormAddLobRelay.ButtonOK_Click(Object sender, EventArgs e)

    I am suspect that bindings are not configured either in 32-bit machine config or 64-bit machine config. I can not seem to figure out what exact binding is required as all LOB bindings are there i.e. sql, oracldb, ...


    BizTalk

Answers

  • Saturday, December 17, 2011 10:20 AM
     
     Answered

    Do you have an earlier version of the SDK installed in your machine. If you do, it needs to be uninstalled before running the setup.

    The MSDN documentation for installing Windows Azure Service Bus EAI and EDI Labs – December 2011 Release is available at http://msdn.microsoft.com/en-us/library/windowsazure/hh689760.aspx. As part of the MSDN documentation, it is stated that "If you have an earlier version of the SDK (erstwhile, Windows Azure AppFabric SDK) installed on the computer, you must remove it before starting the setup."

    This could be the potential source of the issue. Do let us know if you do not not have any previous version of SDK installed.

    Best Regards, Rajesh-MSFT

     

     

  • Saturday, December 17, 2011 6:57 PM
     
     Answered

    I'd try just opening up machine.config (both 32 and 64 bit) in notepad and searching for "netTcpRelayBinding". I've come across a situation where there was an endpoint defined in machine.config which used the netTcpRelayBinding (no idea which product put it there); and after removing the ServiceBus SDK, that entry then led to errors since the netTcpRelayBinding definition had disappeared.

All Replies

  • Saturday, December 17, 2011 10:20 AM
     
     Answered

    Do you have an earlier version of the SDK installed in your machine. If you do, it needs to be uninstalled before running the setup.

    The MSDN documentation for installing Windows Azure Service Bus EAI and EDI Labs – December 2011 Release is available at http://msdn.microsoft.com/en-us/library/windowsazure/hh689760.aspx. As part of the MSDN documentation, it is stated that "If you have an earlier version of the SDK (erstwhile, Windows Azure AppFabric SDK) installed on the computer, you must remove it before starting the setup."

    This could be the potential source of the issue. Do let us know if you do not not have any previous version of SDK installed.

    Best Regards, Rajesh-MSFT

     

     

  • Saturday, December 17, 2011 11:30 AM
     
     

    Yes , The error seems to occuring while creating LOBRelay. The LOBRelay uses basicHttpRelay binding.

    Looks like the versions of Microsoft.Service.dll  found by the serializer and the one used by the server explorer UI don't match.

     

    After unstalling the previous version of Windows Azure AppFabric SDK, you can dounble check that basicHttpRelayBinding is not registered  in machine.config.

     


    Rohit Singh
  • Saturday, December 17, 2011 5:04 PM
     
     

    Hi Rohit and Rajesh,

    Thanks for replies. It is true that on the environment an earlier version of SDK was installed. I will remove this and retry it. Let you know if this works.

    Cheers,

    Steef-Jan Wiggers

    Ordina ICT B.V. | MVP & MCTS BizTalk Server 2010

    http://soa-thoughts.blogspot.com/ | @SteefJan


    BizTalk
  • Saturday, December 17, 2011 6:34 PM
     
     

    Hi,

    Deinstallation of SDK resulted in new error:

    Configuration binding extension 'system.serviceModel/bindings/netTcpRelayBinding' could not be found. Verify that this binding extension is properly registered in system.serviceModel/extensions/bindingExtensions and that it is spelled correctly.

    The bindings somehow do not get registered in machine.config. I am going to retry installation on clean environment. Current environment is corrupt in my view.

    Steef-Jan Wiggers

    Ordina ICT B.V. | MVP & MCTS BizTalk Server 2010

    http://soa-thoughts.blogspot.com/ | @SteefJan


    BizTalk
  • Saturday, December 17, 2011 6:57 PM
     
     Answered

    I'd try just opening up machine.config (both 32 and 64 bit) in notepad and searching for "netTcpRelayBinding". I've come across a situation where there was an endpoint defined in machine.config which used the netTcpRelayBinding (no idea which product put it there); and after removing the ServiceBus SDK, that entry then led to errors since the netTcpRelayBinding definition had disappeared.

  • Saturday, December 17, 2011 7:42 PM
     
     

    Hi,

    I have installed it in a new environment that had no previous installation of Windows Azure SDK. That worked, thanks for help. I checked the machine.config in new environment and you are right there is no netTcpRelayBinding.

    In old environment I removed that binding and issue is gone.

    Cheers,

    Steef-Jan Wiggers

    Ordina ICT B.V. | MVP & MCTS BizTalk Server 2010

    http://soa-thoughts.blogspot.com/ | @SteefJan


    BizTalk