Avatar of dwechter
dwechter
 asked on

IIS 401.2 Error, Integrated Authentication Company Intranet

Greetings,
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...

Thanks!

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


Web BrowsersMicrosoft IIS Web Server

Avatar of undefined
Last Comment
dwechter

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Dave_Dietz

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
dwechter

ASKER
Fantastic!  Works perfectly, I would never have found that otherwise.  My log files, VM, and I thank you.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23