You are not authorized to view this page

Hi

I have opened a browser and type http://localhost, but I am getting the error "You are not authorized to view this page".

What is the reason behind this and how to fix it.

Regards
Karan Gupta
KaranGuptaAsked:
Who is Participating?
 
vaibhavjaimanConnect With a Mentor Commented:
IIS6
Just open your IIS >> go to your website >> right click and go to properties >> under home directory >> check the localpath for the document root folder of your website

IIS7
your website name > right click >> manage website >> advance settings  >> check the physical path for the document root folder of your website

Thereafter assign the permission.
0
 
RaneeshIT SupportCommented:
0
Cloud Class® Course: Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

 
vaibhavjaimanCommented:
0
 
KaranGuptaAuthor Commented:
Raneeshcr

There is one solution given
"Can u tell who are the members in your "wwwroot properties" - security tab?

There should be-
1. Everyone with Read & Execute, List Folder Contents, and Read rights
2. Users (Machinename\Users) with above permissions
3. VS Developers (Machinename\VS Developers) with above & Modify and Write permissions
4. Launch IIS Process Account (MachineName\IWAM_...) with Deny Write permission
5. Internet Guest Account (MachineName\IUSR_...) with Deny Write permission

Check these and try to access. "

I want to know where is wwwroot in IIS
0
 
KaranGuptaAuthor Commented:
I have IIS 5.1
0
 
vaibhavjaimanCommented:
It would be same as for IIS6
0
 
KaranGuptaAuthor Commented:
Hi

Sorry for the late response. I have right clicked on the website and then click on properties. Then under the home directory local path textbox is disabled.

When you say right click on website you mean the folder with the name website or the virtual folder.

Please advice

Regards
Karan Gupta
0
 
vaibhavjaimanCommented:
Please check the snap shot.

..If still facing problem than attached the print screen of the same.
snap.JPG
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.