title: Hosting WCF Web Serveic on Windows Server 2003
body: <p>Getting the following err... </p>
  
  <blockquote>
    <p>Server Error in '/' Application. 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.
    Description: An unhandled exception
    occurred during the execution of the
    current web request. Please review the
    stack trace for more information about
    the error and where it originated in
    the code.</p>
    
    <p>Exception Details:
    System.InvalidOperationException: 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.</p>
    
    <p>Source Error:</p>
    
    <p>An unhandled exception was generated
    during the execution of the current
    web request. Information regarding the
    origin and location of the exception
    can be identified using the exception
    stack trace below.</p>
    
    <p>Stack Trace:</p>
    
    <p>[InvalidOperationException: 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.]
    System.ServiceModel.Web.WebServiceHost.SetBindingCredentialBasedOnHostedEnvironment(ServiceEndpoint
    serviceEndpoint, AuthenticationSchemes
    supportedSchemes) +446264<br>
    System.ServiceModel.Web.WebServiceHost.AddAutomaticWebHttpBindingEndpoints(ServiceHost
    host, IDictionary`2
    implementedContracts, String
    multipleContractsErrorMessage) +709<br>
    System.ServiceModel.Web.WebServiceHost.OnOpening()
    +203    Microsoft.ServiceModel.Web.WebServiceHost2.OnOpening()
    in
    e:\bt\3781\Microsoft.ServiceModel.Web\Microsoft.ServiceModel.Web\WebServiceHost2.cs:69
    System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan
    timeout) +229<br>
    System.ServiceModel.HostingManager.ActivateService(String
    normalizedVirtualPath) +121<br>
    System.ServiceModel.HostingManager.EnsureServiceAvailable(String
    normalizedVirtualPath) +479</p>
    
    <p>[ServiceActivationException: The
    service '/Service.svc' cannot be
    activated due to an exception during
    compilation.  The exception message
    is: 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..]<br>
    System.ServiceModel.AsyncResult.End(IAsyncResult
    result) +11599786<br>
    System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult
    result) +194<br>
    System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(HttpApplication
    context, Boolean flowContext) +176<br>
    System.ServiceModel.Activation.HttpModule.ProcessRequest(Object
    sender, EventArgs e) +278<br>
    System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    +68    System.Web.HttpApplication.ExecuteStep(IExecutionStep
    step, Boolean&amp; completedSynchronously)
    +75</p>
    
    <p>Version Information: Microsoft .NET
    Framework Version:2.0.50727.3615;
    ASP.NET Version:2.0.50727.3618</p>
  </blockquote>