Invalid bindingconfiguration attribute. RRS feed

  • Question

  • Hi, I just added a service to my project. Why there is a warning "The 'bindingConfiguration' attribute is invalid - The value 'WSHttpBinding_IDialingService' is invalid according to its datatype 'serviceBindingConfigurationType' - The Enumeration constraint failed."

    It is default, I have done nothing. Why?

    My app.config

        <binding name="BasicHttpBinding_iLuCRE" />
        <binding name="WSHttpBinding_IDialingService">
         <security mode="None" />
       <endpoint address=""
        binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_iLuCRE"
        contract="LuCRE.iLuCRE" name="BasicHttpBinding_iLuCRE" />
       <endpoint address=""
        binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_IDialingService"
        contract="DialingService.IDialingService" name="WSHttpBinding_IDialingService" />

    Tuesday, July 29, 2014 6:15 PM


All replies

  • Hi,

    It seems that it is very strange, I copy it to my config file, it does not throw any error.

    If the 'bindingConfiguration' attribute is invalid in your thread, then you can just modify your config file as following to not use the bindingConfiguration as following:

         <security mode="None" />
       <endpoint address=""
        binding="wsHttpBinding" contract="DialingService.IDialingService" 
    name="WSHttpBinding_IDialingService" />


    Best Regards,
    Amy Peng

    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, July 30, 2014 5:46 AM
  • It suddenly disappeared. Maybe Visual Studio 2013 cache issue...
    • Marked as answer by ardmore Wednesday, July 30, 2014 3:12 PM
    Wednesday, July 30, 2014 3:11 PM
  • Rebuild, my error went away
    Monday, June 24, 2019 1:23 PM