IIS 7 and Above
HTTP Error 401.2 - Unauthorized. You are not authorized to view this...
Last post Aug 08, 2015 07:51 AM by sholliday
Dec 17, 2008 03:44 AM|mithusur|LINK
I am getting the below error message in my windows 2008 server when I am trying to browse the default website in the local server. Anonymous auth is disabled. Windows auth is enabled.
View more information »
Microsoft Knowledge Base Articles:
Ther are no webproxy, IE7 is enable for local intranet connection.
Dec 17, 2008 04:39 AM|ganeshanekar|LINK
Can you try steps from this KB
Try Step 2:
Dec 17, 2008 06:16 AM|mithusur|LINK
There are 2 modules related to windows authentication.
1. windowsauthentication, this is a managed module type, entry type inherited.
2. windowsauthenticationmodule, this is a native module, entry type is inherited.
The above modules are already in, but still getting the same error message. Any other suggestions.
Dec 17, 2008 07:20 AM|mithusur|LINK
When I enable the basic authentication, its prompting for username and password, if I supply the username and password then I can view the webpage, but its not working for windows authentication.
May 09, 2009 11:35 PM|samarsalica|LINK
Some time your IE is set to logon anoyninous in IE Security settings kindly chnage that to inherit or change it to prompt for login credential.
Hope it helped.
Aug 10, 2009 09:10 PM|diegochb|LINK
sorry to bing up this old thread, I'm having this same issue, but trying to use this solution, I don't have the option to "Add Native Module"
I only have: "Add Managed Module" or "Configure Native Module"
I already have listed the managed WindowsAuthentication but, I don't have WindowsAuthenticationModule on the list... how can I add it?
PS: I'm using WS2008 64bits with IIS7
Aug 10, 2009 09:58 PM|CarlosAg|LINK
Could you double check if Windows Authentication is installed. You can use Server Manager and see in the Web Server role and make sure the Windows Authentication feature is installed.
Aug 11, 2009 01:27 PM|diegochb|LINK
Yes, windows authentication is installed (basic, digest, client certificate mapping, and IIS Client Certificate Mapping authorization methots are not installed)
Aug 28, 2009 09:17 AM|Micheal1|LINK
Dear i also facing this kind of problem & i want to safe it.
Try industry expert reviews on [url=http://www.thecarstereosites.com]Best Car Stereos[/url] and then buy best from them.
Dec 17, 2009 11:27 AMfirstname.lastname@example.org|LINK
I am also experiencing this issue. I do not have Windows Auth enabled (but I don't want it because we use Forms Auth in my app). I have anonymous, ASP.Net impersonation, and Forms Auth enabled. The rest are disabled.
My site was working yesterday, but I had to reboot and now I'm getting this error.
(Sorry to resurrect a thread that's a few months old...please feel free to create a new thread of this if it's more appropriate to do so.) :-)
Thanks in advance!
Aug 08, 2015 07:51 AM|sholliday|LINK
For future readers:
Enabling both "anonymous" and "windows authentication" will result in "blank" windowsidentity values.