URDINESH: January 2015

Software Programming, Tutorials, Interview Preparations,Stock Market,BSE/NSE, General informations

Saturday, January 17, 2015

Configuration binding extension 'system.serviceModel/bindings/true' could not be found

This is the common error while working with WCF service. Reason for this is there in our app.config file.


While using intellisence provided by Microsoft visual Studio we may has to select "httpGetBinding" instead of  "httpGetEnabled". please look below codes,

Resolved Corrected Lines as below, Error line of code as highlighted below

<behaviors>
      <serviceBehaviors>
        <behavior name="mexBehavior">
          <serviceMetadata httpGetBinding="True" />
        </behavior>
      </serviceBehaviors>
</behaviors>

Resolved Corrected Lines as below,

<behaviors>
      <serviceBehaviors>
        <behavior name="mexBehavior">
          <serviceMetadata httpGetEnabled="True" />
        </behavior>
      </serviceBehaviors>
 </behaviors>

If you have any other reason please mention that in Comments. Thanks for your Visit.

Followers