Authorization problem in my webapp

  • Thread starter Thread starter Abhishek Srivastava
  • Start date 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.
 
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
 
Back
Top