IIS 5 & IIS 6
HTTP Error 401.2 - Unauthorized
Last post Dec 21, 2008 10:41 PM by Andrew Zhu - MSFT
Dec 16, 2008 06:19 AM|mithusur|LINK
I am running IIS 7 in windows 2008 enterprise server. When Iam trying to open the default website I am getting an error as HTTP Error as "401.2 - Unauthorized". I have the windows authentication enabled and anonymous authetication is disabled.
When I enable the anonymous authentication then web site is viewable (I can view the IE7 logo), but our custome made application will run in windows authetication only and we need to disable the anonymous authentication.
I have gone therouh most of the forums and couldn't find a solution. I am using IE 7 to browse the sites. I have enabled "automatic logon only in intranet zone" in the internet explorer logon setting. Still no luck.
We don't have web proxy, I have disabled the windows firewalls as well to try, but no luck.
Do you all have any suggestions?
Dec 16, 2008 07:26 AM|ma_khan|LINK
What you are seeing during anonymous authentication is the IIS 7 logo ... not the IE 7 window :)
Secondly, what happens when you try to browse the page on the localserver ?? IIS 7 gives pretty useful error information ... that might be of help...
Dec 16, 2008 08:13 PM|mithusur|LINK
sorry its typo error. I can see the IIS logo. I want it to work with anonymous logon disabled.
I am getting the below error message.
View more information »
Microsoft Knowledge Base Articles:
I have tried a lot but couldn't fix it. Please help. I am getting the above Error message in the local server browser..
Dec 17, 2008 06:59 AM|ma_khan|LINK
Verify that the user is not explicitly denied access in the "configuration/system.webServer/authorization" configuration section.
Did you check this ... ??
Dec 17, 2008 08:27 PM|mithusur|LINK
I am not sure how to check that. Will you be able to direct me to any articles or listings about it. Thanks.
Dec 21, 2008 10:41 PM|Andrew Zhu - MSFT|LINK
The way to verify if the user is explicitly denield.
In you IIS7 Manager Console. Click Default Web Site, in the right frame, click Authorization Rules under IIS section.