Re: IE prompts for a password when using anonymous authentication



It sounds like you have authorization enabled for your ASP.Net web
application within ASP.Net

When you hit cancel and the site works as expected, that tells me anonymous
authentication is working just fine from IIS. And since you say that IIS
only has anonymous authentication enabled, it tells me that something else
is triggering the user login. Something like ASP.Net URL Authorization.

--
//David
IIS
http://blogs.msdn.com/David.Wang
This posting is provided "AS IS" with no warranties, and confers no rights.
//

"Adam Ainger" <AdamAinger@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:B20BFED7-7316-4EB7-8DB3-70530D56A824@xxxxxxxxxxxxxxxx
Hi everyone,

I have developed an ASP.NET web application and have deployed it to a
production server. The web application has only a single page with the
page_load event having no code in it. The virtual directory in IIS is
setup
with anonymous access only. The user that virtual directory is setup to
run
under has administrative privilages on the server.

Whenever I visit the deployed site I get prompted for a username and
password. If I enter my username and password the page I was trying to
access
is not displayed and I get prompted for a username and password again. If
I
press cancel, the page is displayed and the site works as expected.

I've spent a long time investigating this issue and have been unable to
get
to the bottom of it. It's extremely important that I fix this issue as it
is
affecting a live site.

Has anyone experienced this issue themselves? Or perhaps know how to fix
it?

Any help that can be passed on would be gratefully received.

Many thanks

Adam Ainger



.



Relevant Pages

  • Re: IE prompts for a password when using anonymous authentication
    ... Windows and not IIS). ... : with anonymous access only. ... The user that virtual directory is setup to ... If I enter my username and password the page I was trying to ...
    (microsoft.public.inetserver.iis.security)
  • Re: IIS 5 Anonymous NTFS Permissions
    ... And even if you don't type a username or password and just click Ok, ... >> Anonymous access is checked in the IIS directory security settings! ...
    (microsoft.public.inetserver.iis)
  • Retrieving IIS Logon Name
    ... IIS for the virtual directory, ... enter their username and passwords to open the page. ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • mssql_connect problems
    ... I'm trying to connect to MSSQL server 2000 using IIS 6.0. ... been able to connect, however, is by disabling anonymous access and setting ... account when I specify the username and password in the function call? ...
    (comp.lang.php)
  • Re: [PHP] Authentication
    ... If memory doesn't fail me, if you work with IIS and protect the source pages of the application so that IUSR_xxxxx doesn't have access to those files and instead grant access to the NT users or groups which you want, the IIS when working with IE clients will take care of that as long as they are all in the same domain. ... I did it with IIS 3 and IE4 and it worked, I am not completely sure about the details, but it is something you do in the server administration and you don't need to do any programming at all, if the person reaches the page it is because it is who he says it is. ... Otherwise, no browser will give you access to any sensitive information on the client machine, nothing that someone, anyone, might pick on the server side just by receiving a page request. ... If you can find a JavaScript function to snoop the username, ...
    (php.general)