I have an asp.net 4.0 application that works fine running under cassini but when i deploy to IIS i get the above error. It is running under the Default App pool which a numb
If you are using Windows Authentication, it could be your authorization settings. Open web.config file:
Make sure you have assigned the correct roles. If you need to include all users, use: