Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows authentication of Intranet ASP.NET website and reappearing windows login box

I'm trying to enable automatic Window authentication working on our ASP.NET Intranet. I've changed the Authentication on our IIS 7.5 server from Anonymous to Windows Authentication Enabled only, and changed the Web.config file for the website to:

<authentication mode="Windows" />
 <authorization>
    <deny users="?" />
 </authorization>

The Windows login box appears when accessing the website via IE 8, I enter valid credentials, but the login window keeps reappearing as if it does not accept my credentials. By repeatedly cancelling the login box it disappears, and my login name can be viewed on the website. Is there any possible reason for the login box to keep popping up even though valid credentials are being entered? I've restarted the servers / cleared browser cache etc.

Also, ideally I would like the user to enter the login details once in the login box and not be required to reenter login details whenever he reopens the browser.

like image 713
Mjakda Avatar asked Nov 05 '22 00:11

Mjakda


1 Answers

Check if your browser has "Enable Integrated Windows Authentication" checked. In IE it's in the Advanced options.

like image 175
Dante Avatar answered Nov 10 '22 19:11

Dante