Re: ASP.Net pages randomly require authentication (but show OK anyway)

From: Paul Glavich [MVP - ASP.NET] (glav_at_aspalliance.com-NOSPAM)
Date: 08/26/04


Date: Thu, 26 Aug 2004 23:13:29 +1000

Look at your web.config. If none of your pages require authentication, set
your web.config <authentication mode="None">.

Also, make sure windows integrated authentication is not selected/ticked in
the IIS directory security MMC for that site. Again, if no auth is required,
make sure only Anonymous authentication is checked.

-- 
- Paul Glavich
Microsoft MVP - ASP.NET
"OG" <OG@discussions.microsoft.com> wrote in message
news:650FD0CE-A632-434A-85A0-3E5E4F013685@microsoft.com...
> When installing our ASP.Net application at a site (Win2K machines), some
of
> the pages of the application started requiring authentication (poping up
the
> username/password/domain popup) - something that never happened before.
>
> Interestingly, even if these popups are closed using Cancel/ESC, the pages
> then show correctly. Also, so far we have not been able to figure out how
> come some pages require the login while others do not.
>
> Any hints on where to look for the problem ?
> Thanks
> OG.
>
>


Relevant Pages

  • RE: default for requiring authentication 2003
    ... On Behalf Of Kurt Dillard ... default for requiring authentication 2003 ... I'm having a debate with someone over whether a 2003 server by default ...
    (Focus-Microsoft)
  • RE: default for requiring authentication 2003
    ... Would the default "NullSessionShares" registry value in Server 2003 prevent unauthenticated network access to files as well? ... default for requiring authentication 2003 ...
    (Focus-Microsoft)
  • RE: default for requiring authentication 2003
    ... default for requiring authentication 2003 ... I'm having a debate with someone over whether a 2003 server by default ... I understand that the guest account could access files as it is part of the ...
    (Focus-Microsoft)
  • Re: [Windows 2003] [IIS 6] A strange access problem
    ... Internet, there is a probability it won't work. ... Do you know if you are using Basic, NTLM, or Kerberos authentication. ... > authentication, and the test website works, requiring authentication too. ...
    (microsoft.public.inetserver.iis.security)
  • RE: Virtual directory problem
    ... You need to make sure your clients aren't coming through a proxy when they ... Windows Integrated authentication will not work ... |>http://server1.com/dir1/ it pops up with username and password. ...
    (microsoft.public.inetserver.iis.security)