IIS authentication error

Last post 05-08-2008 11:53 PM by jmorgan84. 4 replies.

Sort Posts:

  • IIS authentication error

    12-18-2007, 8:00 AM
    • Loading...
    • dwarav
    • Joined on 12-18-2007, 12:49 PM
    • Posts 2

     

    Hi,

    I am traying   ADO .NET data Services (ASP.NET 3.5 Extensions Preview) Could able to run the Application successfully.

    later I am traying to Publish the same application in IIS. I have encountred the following error. Please help me ....

     

    Server Error in '/ADODS' 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.

    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.

    Source Error:

    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.

    Stack Trace:

    [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) +337
       System.ServiceModel.Web.WebServiceHost.AddAutomaticWebHttpBindingEndpoints(ServiceHost host, IDictionary`2 implementedContracts, String multipleContractsErrorMessage) +738
       System.ServiceModel.Web.WebServiceHost.OnOpening() +224
       System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) +236
       System.ServiceModel.Channels.CommunicationObject.Open() +30
       System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +104
       System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +498
    
    [ServiceActivationException: The service '/ADODS/Northwind.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..]
       System.ServiceModel.AsyncResult.End(IAsyncResult result) +4413209
       System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +183
       System.ServiceModel.Activation.HostedHttpRequestAsyncResult.ExecuteSynchronous(HttpApplication context, Boolean flowContext) +205
       System.ServiceModel.Activation.HttpHandler.ProcessRequest(HttpContext context) +77
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +358
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64
    
     

    Thanks in advance

  • Re: IIS authentication error

    12-18-2007, 9:51 AM

    Hello,

    Try this solution: 

    Open IIS console, web site Properties, Directory Security, Anonymous access and authentication control - Edit, Uncheck - Integrated Windows authenticationt.

    Regards

  • Re: IIS authentication error

    12-19-2007, 12:23 AM
    • Loading...
    • dwarav
    • Joined on 12-18-2007, 12:49 PM
    • Posts 2

    Hi,

     I did what you said, but I am getting same error

    Thanks & Regards

    Srinivas D.V

  • Re: IIS authentication error

    12-20-2007, 10:24 AM

    Hello,

    Maybe there is some bug with beta 2.

    Regards

  • Re: IIS authentication error

    05-08-2008, 11:53 PM
    • Loading...
    • jmorgan84
    • Joined on 05-08-2008, 11:51 PM
    • Posts 1

    After you update the setting in IIS you will need to perform an IIS Reset

    -James

Page 1 of 1 (5 items)