views:

451

answers:

2

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.
+1  A: 

This is (sort of) a duplicate of this question which fixed the issue for me:

http://serverfault.com/questions/38222/iis-7-5-windows-7-http-error-401-3-unauthorized

blesh
+1  A: 

Use Failed Request Tracing & Compact View to see what is causing 401.3. Since it is working fine using VS IDE that means it's working in context of login user account.
Vivek

Vivek