Windows Authentication not working after publishing asp.net to IIS

Discussion in 'ASP .Net Security' started by Jim, May 26, 2005.

  1. Jim

    Jim Guest

    A web application has been built using asp.net and Visual Studio 2005. The
    application is setup to use windows authentication to identify users. The
    application works when run from in the interactive development environment
    using the new web server included in VS 2005. However when the application
    is 'published' to IIS 5.0 on Windows 2000, windows authentication no longer
    works.

    What needs to be done to fix this windows authentication problem with IIS?
    Jim, May 26, 2005
    #1
    1. Advertising

  2. Hello jim,

    you have to disable "anonymous authentication" in IIS5 for the virtual directory
    - otherwise IIS will not do a authentication handshake.

    ---------------------------------------
    Dominick Baier - DevelopMentor
    http://www.leastprivilege.com

    > A web application has been built using asp.net and Visual Studio 2005.
    > The application is setup to use windows authentication to identify
    > users. The application works when run from in the interactive
    > development environment using the new web server included in VS 2005.
    > However when the application is 'published' to IIS 5.0 on Windows
    > 2000, windows authentication no longer works.
    >
    > What needs to be done to fix this windows authentication problem with
    > IIS?
    >
    Dominick Baier [DevelopMentor], May 27, 2005
    #2
    1. Advertising

  3. Jim

    Jim Guest

    Re: Windows Authentication not working after publishing asp.net to

    You hit the nail on the head Dominick. The "anonymous authentication" was
    turned off and the authentication worked. Thanks.

    "Dominick Baier [DevelopMentor]" wrote:

    > Hello jim,
    >
    > you have to disable "anonymous authentication" in IIS5 for the virtual directory
    > - otherwise IIS will not do a authentication handshake.
    >
    > ---------------------------------------
    > Dominick Baier - DevelopMentor
    > http://www.leastprivilege.com
    >
    > > A web application has been built using asp.net and Visual Studio 2005.
    > > The application is setup to use windows authentication to identify
    > > users. The application works when run from in the interactive
    > > development environment using the new web server included in VS 2005.
    > > However when the application is 'published' to IIS 5.0 on Windows
    > > 2000, windows authentication no longer works.
    > >
    > > What needs to be done to fix this windows authentication problem with
    > > IIS?
    > >

    >
    >
    >
    >
    Jim, May 28, 2005
    #3
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    0
    Views:
    829
  2. Rahul
    Replies:
    0
    Views:
    1,161
    Rahul
    Apr 28, 2006
  3. pWade
    Replies:
    3
    Views:
    1,145
    sparkyhoohoo
    Jun 9, 2006
  4. Replies:
    1
    Views:
    279
    Michael Nemtsev [MVP]
    Dec 18, 2007
  5. Tino Donderwinkel
    Replies:
    2
    Views:
    742
    Tino Donderwinkel
    Jun 18, 2008
Loading...

Share This Page