by Sohail
13. March 2010 03:01
Long time back, I messed up with IIS and also deleted the default web site. I am not sure what did i really did but I also tried to play with IUSR_ machine account. In result i was not able to get any sites running on WINDOWS server 2003.
I was getting this error all the time "You are not authorized to view this page".
I followed all the steps specified in the forums. i.e. Add IUSER_Account to website premissions. Or cehck folder permission. I also tried changing few things in web.config file but nothing really worked.
The only solution that worked for me was to add "Administrator" user as Anonymous user in the Website Properties -> Directory SEcurity -> Authentication and access control -> Edit.
You would need to enter the password for admin account too.
Let me know if it helps.