title: Configuration Binding extension could not be found, Binding exists but service can't see it
body: <p>I've tried using all the solutions that I could find but have been unable to get it working.  I'm trying to connect my local machine to a server where the connection is https.  The latest error that I'm getting is :-  </p>
  
  <p>Configuration binding extension 'system.serviceModel/bindings/WSHttpBinding_IService' could not be found. Verify that this binding extension is properly registered in system.serviceModel/extensions/bindingExtensions and that it is spelled correctly.   </p>
  
  <p>When I look at my web.config, I can see WSHttpBinding_IService in the bindings section.  I wonder what I'm doing wrong.  My web.config is :- </p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration&gt;
    &lt;appSettings&gt;
      &lt;add key="baseaddress" value="https://Silvertest.Example.com/Silver"/&gt;
    &lt;/appSettings&gt;
    &lt;connectionStrings&gt;
      &lt;add name="" connectionString=""/&gt;
    &lt;/connectionStrings&gt;
    &lt;system.web&gt;
  
  &lt;customErrors mode="Off"/&gt;
  &lt;compilation debug="true" targetFramework="4.5"&gt;
    &lt;assemblies&gt;
      &lt;add assembly="System.DirectoryServices.AccountManagement, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/&gt;
      &lt;add assembly="System.DirectoryServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/&gt;
    &lt;/assemblies&gt;
  &lt;/compilation&gt;
  &lt;pages controlRenderingCompatibilityVersion="4.0"/&gt;
  &lt;httpRuntime targetFramework ="4.5"  /&gt;
  &lt;/system.web&gt;
  &lt;system.serviceModel&gt;
  &lt;services&gt;
    &lt;service name="Silver" &gt;
      &lt;endpoint address=""  binding="WSHttpBinding_IService" contract="IService"  /&gt;
      &lt;host&gt;
        &lt;baseAddresses&gt;
          &lt;add baseAddress="https://Silvertest.Example.com/Silver/service.svc"/&gt;
        &lt;/baseAddresses&gt;
      &lt;/host&gt;
    &lt;/service &gt;
  &lt;/services&gt;
  &lt;client&gt;
    &lt;endpoint address="https://Silvertest.Example.com/Silver/Service.svc"
      binding="WSHttpBinding" bindingConfiguration="wsHttpBinding"
      contract="IService" name="SecureWCF" /&gt;
  &lt;/client&gt;
  &lt;protocolMapping&gt;
    &lt;add scheme="https" binding="WSHttpBinding_IService" bindingConfiguration="SecureWCF" /&gt;
  &lt;/protocolMapping&gt;
  &lt;extensions&gt;
    &lt;endpointExtensions&gt;
  
    &lt;/endpointExtensions&gt;
  &lt;/extensions&gt;
  &lt;bindings&gt;
    &lt;wsHttpBinding&gt;
      &lt;binding name="WSHttpBinding_IService" closeTimeout="00:01:00"
        openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
        bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
        maxBufferPoolSize="524288" maxReceivedMessageSize="65536" messageEncoding="Text"
        textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"&gt;
        &lt;readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
          maxBytesPerRead="4096" maxNameTableCharCount="16384" /&gt;
        &lt;reliableSession ordered="true" inactivityTimeout="00:10:00"
          enabled="false" /&gt;
        &lt;security mode="Transport"&gt;
          &lt;transport clientCredentialType ="None"/&gt;
        &lt;/security&gt;
      &lt;/binding&gt;
  
    &lt;/wsHttpBinding&gt;
    &lt;basicHttpBinding&gt;
      &lt;binding closeTimeout="10:01:00" openTimeout="10:01:00" receiveTimeout="00:10:00"
        sendTimeout="10:01:00" allowCookies="false" bypassProxyOnLocal="false"
        hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="524288"
        maxBufferSize="2147483647" maxReceivedMessageSize="2147483647"
        textEncoding="utf-8" transferMode="Buffered" useDefaultWebProxy="true"
        messageEncoding="Text"&gt;
        &lt;readerQuotas maxDepth="32" maxStringContentLength="2147483647"
          maxArrayLength="16384" maxBytesPerRead="4096" maxNameTableCharCount="16384" /&gt;
        &lt;security mode="Transport"&gt;
          &lt;transport clientCredentialType="None" /&gt;
          &lt;message/&gt;
        &lt;/security&gt;
      &lt;/binding&gt;
      &lt;binding name="BasicHttpBinding_IRemote" /&gt;
    &lt;/basicHttpBinding&gt;
  &lt;/bindings&gt;
  &lt;behaviors&gt;
    &lt;serviceBehaviors&gt;
      &lt;behavior&gt;
        &lt;!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment --&gt;
        &lt;serviceMetadata httpGetEnabled="true" httpsGetEnabled  ="true"/&gt;
        &lt;!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information --&gt;
        &lt;serviceDebug includeExceptionDetailInFaults="true"/&gt;
      &lt;/behavior&gt;
      &lt;behavior name="SecureWCF"&gt;
        &lt;!-- To avoid disclosing metadata information, set the value below to false and remove the metadata endpoint above before deployment --&gt;
        &lt;serviceMetadata httpGetEnabled="true" httpsGetEnabled  ="true"/&gt;
        &lt;!-- To receive exception details in faults for debugging purposes, set the value below to true.  Set to false before deployment to avoid disclosing exception information --&gt;
        &lt;serviceDebug includeExceptionDetailInFaults="true"/&gt;
      &lt;/behavior&gt;
    &lt;/serviceBehaviors&gt;
  &lt;/behaviors&gt;
  &lt;serviceHostingEnvironment multipleSiteBindingsEnabled="true"/&gt;
  &lt;/system.serviceModel&gt;
  &lt;system.webServer&gt;
    &lt;modules runAllManagedModulesForAllRequests="true"/&gt;
  &lt;/system.webServer&gt;
  &lt;/configuration&gt;
  </code></pre>