Authentication error using WSHttpBinding in WCF

C

cmac06

I have a WCF service that was using BasicHttpBinding, and was switched to
used WSHttpBinding. The service will work on Windows XP, but when moved the
Windows 2003 server/IIS 6, we are receiving the following error:

ServiceActivationException: The service
'/CJM4977/WCFServices/DataService.svc' cannot be activated due to an
exception during compilation. The exception message is: Security settings
for this service require 'Anonymous' Authentication but it is not enabled for
the IIS application that hosts this service..]
System.ServiceModel.AsyncResult.End(IAsyncResult result) +11531006

System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult
result) +194

System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(HttpApplication context, Boolean flowContext) +176
System.ServiceModel.Activation.HttpModule.ProcessRequest(Object sender,
EventArgs e) +278

System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean&
completedSynchronously) +75


The Web.config is set to only use Windows authentication.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top