Simple WCF and AJAX Deployed to IIS

October 22nd, 2008

In the previous post I simplified my WCF/AJAX integration. Then it came to deploying it to Windows Server 2003 and IIS 6. I came across an ugly error message.

IIS specified authentication schemes 'IntegratedWindowsAuthentication, 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.

A forum post showed me that I had to disable Integrated Windows Security because the automatic ASP.NET compatible service host already had a different security mode in place. The forum post explained to turn off that default setting and suggested it was necessary to do an IIS Reset. I actually just restarted the Application Pool for the affected web site and was able to fix the problem. Now the WCF/AJAX functionality works as it did on my development machine.

Comments are closed.