Troubleshooting: 401 - Unauthorized: Access is denied due to invalid credentials.

When you try to access the Microsoft Dynamics NAV Web client, you get the following error:

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.

Resolution

This error typically occurs when authentication is not configured correctly for the Microsoft Dynamics NAV Web client. To resolve this error, verify that the following conditions are met:

  • The credential type to use for authenticating users is configured correctly in the web.config file of the Microsoft Dynamics NAV Web client and on Microsoft Dynamics NAV Server.

  • The correct authentication method is enabled on the Microsoft Dynamics NAV Web client site in IIS.

  • For Windows authentication, the correct authentication providers are configured on the Microsoft Dynamics NAV Web client site in IIS.

For more information about how to enable authentication in the Microsoft Dynamics NAV Web client, see the Configuring the Credential Type on the Microsoft Dynamics NAV Web Client Website.

See Also

Tasks

How to: Install the Web Server Components for the Microsoft Dynamics NAV Web Client

Concepts

Deploying the Microsoft Dynamics NAV Web Client
Troubleshooting the Microsoft Dynamics NAV Web Client Installation