Layton ServiceDesk - Troubleshooting - Can't Login - 401 Unauthorized on Auto Login
From Layton Support
Overview
Failure to install the Web Server (IIS) > Web Server > Security > Windows Authentication server role will result in this error when loading the auto-login page:
401 – Unauthorized: Access is denied due to invalid credentials. (You do not have permission to view this directory or page using the credentials that you supplied).
Procedure
- Open Server Manager.
- From the Dashboard, click 2 Add roles and features. The Add Roles and Features Wizard will open.
- In the Installation Type tab, ensure that the Role-based or feature-based installation radio button is selected, and click the Next > button.
- In the Server Selection tab, ensure that the Select a server from the server pool radio button is selected, select the server and click the Next > button.
- In the Server Roles tab, in the list of Roles, expand Web Server (IIS) > Web Server > Security and check Windows Authentication. Click the Next > button.
- In the Confirmation tab, click the Install button. The Web Server (IIS) > Web Server > Security > Windows Authentication server role will be installed.
- When complete, close the Add Roles and Features Wizard.
- Open IIS Manager.
- In the left-hand column, expand SERVERNAME > Sites > Default Web Site and click the LaytonServiceDesk virtual directory.
- In the IIS section in the center column, double-click Authentication.
- In the Authentication section in the center column, click Windows Authentication and click the Enable button in the right-hand column.
- Once enabled, click the Providers... button in the right-hand column.
- In the Providers dialog, click NTLM and the Move Up button until NTLM is at the top of the list of Enabled Providers. Click the OK button.