Select the product you need help with
Error message when you try to visit a Web page that is hosted on IIS 7.0: "HTTP Error 401.2 - Unauthorized"Article ID: 942043 - View products that this article applies to. On This PageSYMPTOMSWhen you try to visit a Web page that is hosted on Internet Information Services (IIS) 7.0, you may receive the following error message: Server Error in Application "<application name>" -------------------------------------------------------------------------------- HTTP Error 401.2 - Unauthorized HRESULT: 0x80070005 Description of HRESULT: Access Is Denied CAUSECause 1The Web application is configured to use Integrated Windows authentication. However, the Windows Authentication feature is not turned on. Or, the Integrated Windows authentication native module section of the ApplicationHost.config file or of the Web.config file is not valid. To resolve this problem, see Resolution 1.Cause 2The Web application is not configured to use an authentication method. To resolve this problem, see Resolution 2.RESOLUTIONResolution 1To resolve this problem, follow these steps.Step 1: Turn on the Windows Authentication feature
Step 2: Add the Integrated Windows authentication native module in IIS Manager
Resolution 2Configure the Web application to use at least one authentication method. To do this, follow these steps:
PropertiesArticle ID: 942043 - Last Review: September 21, 2007 - Revision: 1.0
|


Back to the top








