Need Help on WCF - config file issue

Discussion in 'General troubleshooting' started by msbs48, May 29, 2012.

  1. getting a WCF error in Web.Config when running a Winhost mvc app.

    The error is.

    Configuration Error
    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    Parser Error Message: The binding at system.serviceModel/bindings/basicHttpBinding does not have a configured binding named 'basicHttpBinding_IService1'. This is an invalid value for bindingConfiguration.

    Source Error:

    Line 112: </bindings>
    Line 113: <client>
    Line 114: <endpoint address="http://autralsy.w05.Winhost.com/I95Service/I95.WCFService/Service1.svc"
    Line 115: binding="basicHttpBinding" bindingConfiguration="basicHttpBinding_IService1"
    Line 116: contract="ServiceReference1.IService1" name="basicHttpBinding_IService1">




    here is a copy of my WCF portion of Web.Config. would appreciate any help as i am stuck...thanks

    ben

    here is a complete Web.config of the serviceModel Tag

    -<system.serviceModel> -<bindings> -<wsHttpBinding> -<binding name="WSHttpBinding_IService1" allowCookies="false" useDefaultWebProxy="true" textEncoding="utf-8" messageEncoding="Text" maxReceivedMessageSize="65536" maxBufferPoolSize="524288" hostNameComparisonMode="StrongWildcard" transactionFlow="false" bypassProxyOnLocal="false" sendTimeout="00:01:00" receiveTimeout="00:10:00" openTimeout="00:01:00" closeTimeout="00:01:00"> <readerQuotas maxNameTableCharCount="16384" maxBytesPerRead="4096" maxArrayLength="16384" maxStringContentLength="8192" maxDepth="32"/> <reliableSession enabled="false" inactivityTimeout="00:10:00" ordered="true"/> -<security mode="Message"> <transport realm="" proxyCredentialType="None" clientCredentialType="Windows"/> <message clientCredentialType="Windows" algorithmSuite="Default" negotiateServiceCredential="true"/> </security> </binding> </wsHttpBinding> </bindings> -<client> -<endpoint name="basicHttpBinding_IService1" contract="ServiceReference1.IService1" bindingConfiguration="basicHttpBinding_IService1" binding="basicHttpBinding" address="http://autralsy.w05.Winhost.com/I95Service/I95.WCFService/Service1.svc"> -<identity> <dns value="localhost"/> </identity> </endpoint> </client> </system.serviceModel>
     
    Last edited by a moderator: Oct 14, 2015

Share This Page