We help IT Professionals succeed at work.

IIS 401.2 Error, Integrated Authentication Company Intranet

Last Modified: 2013-12-08
This problem may be more of an annoyance than a show stopper, but it does eat network and server bandwidth and causes a lot of useless data to be placed in log files.  I have several ASP.NET sites running IIS 5.0 on Windows Server for internal company usage.  I manage rights through Integrated Authentication and Active Directory.  My problem is that each and every time a page or script is accessed, IE 7 attempts to open the page anonymously, causing a 401.2 error back to the browser, which then tries (successfully) Windows Authentication credentials.  ***The user never sees 401.2, but the activity is nonetheless happening thousands of times per day***.   Is there any way to solve this on the IIS side (I'm assuming NO) so that all requests come with credentials only?  If not, is there any way to configure the user's IE 7 browser to default to presenting active directory credentials first, rather than always defaulting to anonymous and waiting for the credential request?

See log file sample below...


2008-07-22 15:58:23 W3SVC1 GET /EscalationManager/efpstyle.css - 80 - 401 2 2148074254
2008-07-22 15:58:23 W3SVC1 GET /EscalationManager/EFP_LOGO.bmp - 80 - 401 2 2148074254
2008-07-22 15:58:23 W3SVC1 GET /EscalationManager/efpstyle.css - 80 EFP\dwechter 200 0 0
2008-07-22 15:58:23 W3SVC1 GET /EscalationManager/EFP_LOGO.bmp - 80 EFP\dwechter 200 0 0

Watch Question

Top Expert 2007
This one is on us!
(Get your first solution completely free - no credit card required)


Fantastic!  Works perfectly, I would never have found that otherwise.  My log files, VM, and I thank you.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.