Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm having some problems accessing an ASP.NET website hosted on an internal iis 6 server that I am maintaining. Some users can get to the site, others (including myself can't).

The app has Windows Authentication mode set in the web.config file, and Integrated Windows Authentication checked in the Website properties. Anonymous access is not checked.

In the IIS logs, I see 2 lines when I make a request for the site's default page (Default.aspx). The first is a 401.2 error, and the 2nd is a 302.0 error.

I've tried switching around as many security settings as I can think of, but had no luck yet. Can someone please help? I'm mainly a programmer, but have done a little IIS administration, so it is probably something quite simple I am missing.

-- here are the log entries for my request to Default.aspx

2011-01-11 21:17:35 GET /MonthEndInventory/Default.aspx - 80 - Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+OfficeLiveConnector.1.4;+OfficeLivePatch.1.3;+.NET+CLR+1.1.4322;+Tablet+PC+2.0;+.NET4.0C;+.NET4.0E;+InfoPath.3;+MS-RTC+LM+8) 401 2 2148074254

2011-01-11 21:17:35 GET /MonthEndInventory/Default.aspx - 80 DOMAIN\myuserid Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.1;+Trident/4.0;+SLCC2;+.NET+CLR+2.0.50727;+.NET+CLR+3.5.30729;+.NET+CLR+3.0.30729;+Media+Center+PC+6.0;+OfficeLiveConnector.1.4;+OfficeLivePatch.1.3;+.NET+CLR+1.1.4322;+Tablet+PC+2.0;+.NET4.0C;+.NET4.0E;+InfoPath.3;+MS-RTC+LM+8) 302 0 0

share|improve this question
You don't say if you're getting any errors. Clearly the login worked because the second entry includes your authenticated user in the logs. 401 is an unauthorized (prompts for login), 302 is a redirect. For some reason the /MonthEndInventory/Default.aspx is telling the client to redirect somewhere. Try using Fiddler2 to see what it's saying, as well as giving us the error message you may be getting. –  Jon Angliss Jan 12 '11 at 3:41
Thanks for your reply. I don't see an error when trying to see the page in IE, just a generic "This page cannot be displayed message". –  lvandiest Jan 12 '11 at 14:32
If I run fiddler, i see the entries for http status 401 and 302. The 401 error is a page that says "You are not authorized to view this page". The 302 error is a page with a link that says Object moved to <a href="about%3ablank">here</a>. –  lvandiest Jan 12 '11 at 14:34
I figured it out. It was some bad programming on my part that redirected users to the about:blank page if they weren't authorized to view the page. I still see the 401 error in fiddler when viewing the site, but the page will display now. –  lvandiest Jan 14 '11 at 15:42

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.