web publish/deploy SL4 with sqlserver db

Discussion in 'Windows / IIS' started by work2gs, May 19, 2010.

  1. Hi

    Is someone has already deploy (web deploy) a SL4 (vs2010) with SQLserver ?
    If yes,
    In package/publish web
    is the "Include all database..." is check in or check off ?


    I try to publish business sl4 with sqlserver2008
    but obtain this error in browser
    any idea ?

    Load operation failed for query 'GetUser'. The remote server returned an error: notFound

    thanks
     
  2. Bruce

    Bruce DiscountASP.NET Staff

  3. Fiddler !!!

    Thanks Bruce for your help !!!

    I am running Fiddler and obtain this error.
    How I can Change the IIS settings so that only a single authentication scheme is used as specified in the error ?

    Regards


    Server Error in '/' Application.
    --------------------------------------------------------------------------------

    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.
    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 '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.

    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 '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.]
    System.ServiceModel.Web.WebServiceHost.SetBindingCredentialBasedOnHostedEnvironment(ServiceEndpoint serviceEndpoint, AuthenticationSchemes supportedSchemes) +346523
    System.ServiceModel.Web.WebServiceHost.AddAutomaticWebHttpBindingEndpoints(ServiceHost host, IDictionary`2 implementedContracts, String multipleContractsErrorMessage, String standardEndpointKind) +804
    System.ServiceModel.Web.WebServiceHost.OnOpening() +244
    System.ServiceModel.DomainServices.Hosting.WebServiceHostInspector.OnOpening() +12
    System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) +274
    System.ServiceModel.DomainServices.Hosting.WebServiceHostInspector.Inspect() +67
    System.ServiceModel.DomainServices.Hosting.ServiceUtility.VerifyAuthenticationMode() +94
    System.ServiceModel.DomainServices.Hosting.PoxBinaryEndpointFactory.CreateEndpointForAddress(ContractDescription contract, Uri address) +170
    System.ServiceModel.DomainServices.Hosting.PoxBinaryEndpointFactory.CreateEndpoints(DomainServiceDescription description, DomainServiceHost serviceHost) +150
    System.ServiceModel.DomainServices.Hosting.DomainServiceHost.CreateDescription(IDictionary`2& implementedContracts) +646
    System.ServiceModel.ServiceHostBase.InitializeDescription(UriSchemeKeyedCollection baseAddresses) +154
    System.ServiceModel.ServiceHost.InitializeDescription(Type serviceType, UriSchemeKeyedCollection baseAddresses) +49
    System.ServiceModel.DomainServices.Hosting.DomainServiceHost..ctor(Type domainServiceType, Uri[] baseAddresses) +271
    System.ServiceModel.DomainServices.Hosting.DomainServiceHostFactory.CreateServiceHost(Type serviceType, Uri[] baseAddresses) +29
    System.ServiceModel.Activation.ServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses) +420
    System.ServiceModel.HostingManager.CreateService(String normalizedVirtualPath) +1440
    System.ServiceModel.HostingManager.ActivateService(String normalizedVirtualPath) +44
    System.ServiceModel.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) +615

    [ServiceActivationException: The service '/Services/my4-Web-AuthenticationService.svc' cannot be activated due to an exception during compilation. The exception message is: 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..]
    System.Runtime.AsyncResult.End(IAsyncResult result) +679246
    System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) +190
    System.ServiceModel.Activation.ServiceHttpHandler.EndProcessRequest(IAsyncResult result) +6
    System.Web.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) +96




    --------------------------------------------------------------------------------
    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1
     
  4. Bruce

    Bruce DiscountASP.NET Staff

Share This Page