I have a mixed WebForms/MVC application I’m trying to deploy to our staging environment, which is a fresh install of Server 2008 R2, with IIS 7.5.
This application works fine while developing on anyone’s local machine (via visual studio’s web server), however when when it’s hosted on the staging server we get the following error:
HTTP Error 401.3 – Unauthorized
You do
not have permission to view this
directory or page because of the
access control list (ACL)
configuration or encryption settings
for this resource on the Web server.
Things I’ve set to try to fix this:
- Anonymous Authentication is Enabled.
- All other forms of authenication are disabled.
- Authorization is set to allow all users.
- the IIS_IUSRS group has access via the file system.
This is (sort of) a duplicate of this question which fixed the issue for me.
From that post: