Authorization problem in my webapp

  • Thread starter Abhishek Srivastava
  • Start date
A

Abhishek Srivastava

Hello All,

I had developed an asp.net application on one machine. Now I am trying
to deploy it on another machine but I keep getting "you are not
authorized to view this page" error.

To my application directory I have given Read&Execute, List Folder
content and Read access to the following account.

1. ASP.NET
2. IUSR_TRINITY
3. IIS_WPG

My IIS runs under the account IUSR_TRINITY. Under Authentication methods
tab, I have also enabled anonymous access.

Still I am getting this error. Can anyone help me as to why I am getting
this error?

regards,
Abhishek.
 
M

Mohamed El Ashamwy

Do you have a default document set to the IIS virtual folder of your
application?
If you write the URL of the virtual folder without giving it a filename in
that folder it'll give you the "you are not authorized to view this page"
error message. (i.e. if you didn't set a default document and you use the
URL: http://trinity.yourcomapny.com/testaspp/ it'll give you the stated
error).

Please try the URL of an exact file (i.e
http://trinity.yourcomapny.com/testaspp/test.aspx for example) and see if
the error message persists. If this works then you need to set the default
document for you virtual folder

regards
Mohamed El Ashmawy
Microsoft GTSC Developer support for Middle East
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top