You Are Not Authorized To View This Page

IIS Error :
You are not authorised to view this page.


The Output Of The Error Shown On Web Page IS :

You are not authorized to view this page
You do not have permission to view this directory or page using the credentials you supplied.


Please try the following:

  • Click the Refresh button to try again with different credentials.
  • If you believe you should be able to view this directory or page, please contact the Web site administrator by using the e-mail address or phone number listed on thelocalhost home page.

HTTP 401.1 – Unauthorized: Logon Failed
Internet Information Services


Technical Information (for support personnel)


When Does This Error Occurs :

This error occurs when you try to access http://localhost or any other website.


Cause:

The default access mode for iis is ‘digest authentication for windows domain server’. This need to be changed to ‘Integrated Windows Authentication’


Description of Cause:


How to Solve:

Follow the following Steps :
1. Open ‘Internet Information Services’ from Control Panel -> Administrative Tools.
2. In the tree pane at left side, expend ‘Web Sites’ node.
3. Right click on default website and choose properties.
4. On the properties dialog select the ‘Direcotry Security’ tab.
5. Make sure that ‘Anonymous access’ check box is checked.
6. Uncheck ‘Allow IIS to control password’ checkbox, if it is checked.
6. In the ‘Authenticated Access’ section, check ‘Integrated Windows Authentication’ checkbox and and uncheck the ‘Digest Authentication’ and ‘Basic Authentication’ checkboxes, if these are checked.
7. Click OK.
8. Again click OK.
9. Close Internet Information Services control panel. Your website should now work correctly.


More Information
The above error also cause following error in Visual Studio .net
******************************************* ********
Visual Studio could not identify the version of asp.net on the web server. The webserver reported the following error when attempting to create or open the web project located at the following URL ‘HTTP://localhost/WebApplication1’. ‘HTTP/1.1 401 Access Denied’. Do You want to Continue?
*******************************************
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s