IIS 7.5 MVC 2 Problem with Error 401.3

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.
+3
source share
2 answers

This is the (kind of) duplicate of this question that fixed this problem for me.

From this post:

IIS 7 also creates "IUSR" as the default user for accessing files through IIS. So the IUSR user has read access to files / folders.

How to check if IUSR Access has been read? Right-click → Folder → Properties → Security tab. If IUSR is in the list of groups or usernames, if not.

"" → "" → "" - " " → " IUSR" ""

+4

Failed Request Tracing Compact View, , 401.3. VS IDE, , .

+1

Source: https://habr.com/ru/post/1725894/


All Articles