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.
Error Summary
HTTP Error 401.2 - Unauthorized
You are not authorized to view this page due to invalid authentication headers.
Click Start, type Inetmgr in the
Start Search box, and then click
Inetmgr in the Programs list.
If you are prompted for an administrator password or for a confirmation, type the password, or click
Continue.
In the Connections pane, expand the computer that is running IIS 7.0, expand
Web Sites, and then click
Default Web Site.
On the Default Web Site Home page, double-click
Modules.
In the Actions pane, click
Add Native Module.
In the Add Native Module dialog box, click to select the
WindowsAuthenticationModule check box, and then click
OK.
HTH.
~ Ganesh
Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.
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.
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.
Yes, windows authentication is installed (basic, digest, client certificate mapping, and IIS Client Certificate Mapping authorization methots are not installed)
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.) :-)
mithusur
7 Posts
HTTP Error 401.2 - Unauthorized. You are not authorized to view this page due to invalid authenti...
Dec 17, 2008 02:44 AM|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.
Error Summary
HTTP Error 401.2 - Unauthorized
You are not authorized to view this page due to invalid authentication headers.
<div class=content-container> </div> <div class=content-container> </div> <div class=content-container> </div> <div class=content-container> </div>Ther are no webproxy, IE7 is enable for local intranet connection.
ganeshanekar
551 Posts
Re: HTTP Error 401.2 - Unauthorized. You are not authorized to view this page due to invalid auth...
Dec 17, 2008 03:39 AM|LINK
Can you try steps from this KB http://support.microsoft.com/kb/942043/
Try Step 2:
Step 2: Add the Integrated Windows authentication native module in IIS Manager
<script type=text/javascript> loadTOCNode(3, 'resolution'); </script>If you are prompted for an administrator password or for a confirmation, type the password, or click Continue.
HTH.
~ Ganesh
mithusur
7 Posts
Re: HTTP Error 401.2 - Unauthorized. You are not authorized to view this page due to invalid auth...
Dec 17, 2008 05:16 AM|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.
mithusur
7 Posts
Re: HTTP Error 401.2 - Unauthorized. You are not authorized to view this page due to invalid auth...
Dec 17, 2008 06:20 AM|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.
samarsalica
1 Post
Re: HTTP Error 401.2 - Unauthorized. You are not authorized to view this page due to invalid auth...
May 09, 2009 10:35 PM|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.
Thanks
Sam
diegochb
36 Posts
Re: HTTP Error 401.2 - Unauthorized. You are not authorized to view this page due to invalid auth...
Aug 10, 2009 08:10 PM|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?
Thanks!
PS: I'm using WS2008 64bits with IIS7
CarlosAg
745 Posts
Microsoft
Moderator
Re: HTTP Error 401.2 - Unauthorized. You are not authorized to view this page due to invalid auth...
Aug 10, 2009 08:58 PM|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.
diegochb
36 Posts
Re: HTTP Error 401.2 - Unauthorized. You are not authorized to view this page due to invalid auth...
Aug 11, 2009 12:27 PM|LINK
Yes, windows authentication is installed (basic, digest, client certificate mapping, and IIS Client Certificate Mapping authorization methots are not installed)
thanks!
Micheal1
2 Posts
Hi,
Aug 28, 2009 08:17 AM|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.
richard.buff...
5 Posts
HTTP Error 401.2 - Unauthorized
Dec 17, 2009 10:27 AM|LINK
Hi, All,
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!
Rich