The remote server returned an error: (401) Unauthorized

  • Updated

You're seeing the following error messages:

The remote server returned an error: (401) Unauthorized.


HTTP 401.2 - Unauthorized: Logon failed due to server configuration
Internet Information Services


HTTP 401.1 - Unauthorized: Logon Failed

This error is often seen when using SSL (i.e., https) and Windows Integrated Authentication.


The reason this error is appearing is because the user and/or ASP.NET user account does not have authority to access a file on the web server.

You can fix it by doing the following: