I have a mixed WebForms / MVC application that I am trying to deploy in our staging environment, which is a new installation of Server 2008 R2 with IIS 7.5.
This application works fine when developing on any local machine (via the visual studio web server), however, when it is hosted on an intermediate 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) settings or encryption settings for this resource on the web server.
Things I decided to fix:
- Anonymous authentication is enabled.
- All other forms of authentication are disabled.
- Authorization is allowed for all users.
- The IIS_IUSRS group has access through the file system.
source
share