December 21, 2011 08:13 by
Scott
This is an error message that sometimes you can find it when you host your WCF site:
IIS specified authentication schemes 'Basic, Anonymous', but the binding only supports specification of exactly one authentication scheme. Valid authentication schemes are Digest, Negotiate, NTLM, Basic, or Anonymous. Change the IIS settings so that only a single authentication scheme is used."
To resolve this problem on an IIS 7.0 server, add the following to the web.config file to disable Basic authentication:
<system.webServer>
<security>
<authentication>
<basicAuthentication enabled="false" />
</authentication>
</security>
</system.webServer>
Note that Anonymous authentication can also be disabled using:
<anonymousAuthentication enabled="false" />
If your site is hosted on an IIS 6.0 server, please contact technical support to disable appropriate authentication on the application containing the WCF service.
OR
You can ask your provider to disable Anonymous authentication for you on IIS. Good luck.