Re: IIS Web Service 401 Error with Integrated Windows Authenticati

From: DownUnder (DownUnder_at_discussions.microsoft.com)
Date: 08/18/04

  • Next message: Raterus: "Re: IIS Web Service 401 Error with Integrated Windows Authenticati"
    Date: Wed, 18 Aug 2004 08:23:01 -0700
    
    

    Thanks for the reply, Michael. The problem is not definitely related to the
    webserver name since the problem happens when the authentication type is
    changed (everything else being the same).

    My internet search today has given me some clue. It looks like I need to set
    the "Credentials" for the service programmatically to "DefaultCredentials" in
    the client code.

    I donot know much about that topic and I am not sure why this is not done
    automatically. I am also surprised to learn that it needs to be done in the
    client programmatically. I have tried it and it seems to solve the problem I
    had. However, I need to find out and learn more about the topic.

    Regards,

    DownUnder.

    "Raterus" wrote:

    > Are you using a fully-qualified domain name for the webserver? If so you might want to check out this article about setting the SPN's
    >
    > http://support.microsoft.com/default.aspx?kbid=294382
    >
    > --Michael
    >
    > "DownUnder" <DownUnder@discussions.microsoft.com> wrote in message news:F66965B4-1B93-4264-90F2-C90CE6B62467@microsoft.com...
    > >
    > > Hi,
    > >
    > > I have 401 Error when I try to invoke an ASP Web Service through a client if
    > > Windows Authentication is used.
    > >
    > > To identify the reason, I built a simple "Hellow World" Web Service that I
    > > can successfully invoke using IE (regardless of the authentication type
    > > configured in IIS).
    > >
    > > I can invoke the same Web Service by another client successfully if the
    > > authentication type is Anonymous (regardless of the actual user who it runs
    > > under).
    > >
    > > However, if the Integrated Windows Authentication is ticked, invoking the
    > > service fails (even for the users configured for Anonymous access).
    > >
    > > I tried it on XP Professional and IIS 6. (However, I have the same result on
    > > Win2K3.)
    > >
    > > Help is very much appreciated.
    > >
    > > DownUnder.
    > >
    >


  • Next message: Raterus: "Re: IIS Web Service 401 Error with Integrated Windows Authenticati"

    Relevant Pages

    • RE: Windows Me/98 Client connecting to SQL W2k3
      ... because to simplify the connection problem it can also be ... On Wednesday I will be at the client site and I will check the MDAC and the ... SQL authentication we do not use. ... Only Windows Authentication. ...
      (microsoft.public.sqlserver.connect)
    • Re: Windows Authentication, Single sign on and Active Directory
      ... service proxy client fails to connect due to authentication failure and then ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... The server is always in the domain. ...
      (microsoft.public.dotnet.framework.aspnet.security)
    • Re: BASIC authentication Issues with IE - Part II - Solved but WHY?
      ... it does not know the difference between a request from IE or from ... some other HTTP client. ... Some other authentication schemes are more ... IIS can sometimes remember the token for a particular set of credentials so ...
      (microsoft.public.inetserver.iis.security)
    • Re: Sporadic IAS Authentication problems
      ... * Some times however, a physical reboot of the client laptop is required, ... *The remote access policy in IAS is set to grant access to the group 'Domain ... Proxy-Policy-Name = Use Windows authentication for all users ...
      (microsoft.public.internet.radius)
    • Re: WCF security advice (and clarification) needed
      ... You, the client, resolve the foo.mycompany.com hostname within your ... TCP/IP) with that ticket as the security token. ... There are two parties participating in a security scenario, the server ... HTTP supports other authentication ...
      (microsoft.public.dotnet.framework.webservices)

  • Quantcast