401.3 unauthorized error

Loveyou3000 151 Reputation points
2021-10-13T14:56:15.253+00:00

My website on IIS has a 401.3 error. It can work well on my visual studio. How to solve it?
140220-20211013225143.jpg

Windows development | Internet Information Services
0 comments No comments
{count} votes

Accepted answer
  1. Sam Wu-MSFT 7,561 Reputation points Microsoft External Staff
    2021-10-14T01:54:05.057+00:00

    @Loveyou3000 you can try to this solution:

    1. Navigate to the root of your web application : e.g. C:\Inetpub\wwwroot[Website folder name]
    2. Right click on the file and go to "Properties > Security"
    3. Click "Edit" and then click "Add"
    4. Click "Advanced" in the bottom left
    5. Click "Find Now" - this should list all the accounts available
    6. Scroll till you find "IUSR" and select it
    7. Click "OK" and click "OK" again
    8. In the block "Permissions for IUSR" click on "allow" next to "Full Control"
    9. Click apply (wait for the dialog to close)
    10. Click "OK" and click "OK" again

    If this method does not work, then you can use failed request tracking to view detailed error information.

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Michael Taylor 60,161 Reputation points
    2021-10-13T16:49:48.813+00:00

    Are you using Basic auth, Windows auth, what?

    What type of app is it? A simple website, ASP.NET app etc?


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.