IIS 7 and Above
HTTP Error 401.2 - Unauthorized. You are not authorized to view this...
Last post Aug 08, 2015 02:51 AM by sholliday
Dec 16, 2008 10:44 PM|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 16, 2008 11:39 PM|ganeshanekar|LINK
Can you try steps from this KB
Try Step 2:
Dec 17, 2008 01: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 02: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 06: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 04: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 04: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 08:27 AM|diegochb|LINK
Yes, windows authentication is installed (basic, digest, client certificate mapping, and IIS Client Certificate Mapping authorization methots are not installed)
Dec 17, 2009 06: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 02:51 AM|sholliday|LINK
For future readers:
Enabling both "anonymous" and "windows authentication" will result in "blank" windowsidentity values.