title: WCF - Getting the "The authentication schemes configured on the host ('Anonymous') ....." error
body: <p>"The authentication schemes configured on the host ('Anonymous') do not allow those configured on the binding 'BasicHttpBinding' ('Ntlm'). "</p>
  
  <p>I am brand new to WCF and services in general.  I have turned on the basic, windows &amp; digest auth modes in my iis express.  </p>
  
  <p>One thing I just noticed in my iis express config file, I had turned on basic auth in the "turn of windows stuff" in the task manager then rebooted, but I just opened the applicationhost.config file on my machine and saw this:</p>
  
  <pre><code>        &lt;authentication&gt;
              &lt;anonymousAuthentication enabled="true" userName="" /&gt;
              &lt;basicAuthentication enabled="false" /&gt;
  </code></pre>
  
  <p>shouldn't that basicAuthentication read as true?</p>
  
  <p>I was given this existing project to make some changes to, but I cant even get it to run on my machine, so I'm assuming something is up with my local iis express settings.</p>
  
  <p>This project has 3 services in it.  Here is a partial of the webConfig:</p>
  
  <pre><code>    &lt;bindings&gt;
        &lt;basicHttpBinding&gt;
          &lt;binding name="BasicHttpBinding_IDataMaintenanceService" maxBufferSize="2147483647" maxReceivedMessageSize ="2147483647" maxBufferPoolSize="2147483647" &gt;
            &lt;readerQuotas maxDepth="2147483647"
            maxArrayLength="2147483647" maxBytesPerRead="2147483647"
            maxNameTableCharCount="2147483647" maxStringContentLength="2147483647"/&gt;
            &lt;security mode="TransportCredentialOnly" &gt;
              &lt;transport clientCredentialType="Ntlm"/&gt;
            &lt;/security&gt;
          &lt;/binding&gt;
  
          &lt;binding name="BasicHttpBinding_IYearEndProcessingService" maxBufferSize="2147483647" maxReceivedMessageSize ="2147483647" maxBufferPoolSize="2147483647" &gt;
            &lt;readerQuotas maxDepth="2147483647"
            maxArrayLength="2147483647" maxBytesPerRead="2147483647"
            maxNameTableCharCount="2147483647" maxStringContentLength="2147483647"/&gt;
            &lt;security mode="TransportCredentialOnly" &gt;
              &lt;transport clientCredentialType="Ntlm"/&gt;
            &lt;/security&gt;
          &lt;/binding&gt;
  </code></pre>