This error can occur when the authentication method that is configured in the web.config file for the Microsoft Dynamics NAV Web client is not enabled in Internet Information Services (IIS). The Microsoft Dynamics NAV Web client can be configured to use either Windows authentication or forms authentication. By default, the Microsoft Dynamics NAV Web client uses Windows authentication.
- When you use Windows authentication, the Windows authentication
feature must be turned on in IIS and enabled on the website for the
Microsoft Dynamics NAV Web client.
- When you use forms authentication, both forms authentication and
anonymous authentication must be enabled on the website for Microsoft
Dynamics NAV Web client.
1.To turn on the Windows Authentication feature in IIS
2.To enable an authentication method on the Microsoft Dynamics NAV Web client website
On the computer that is running Microsoft Dynamics NAV Web Server
components, to open Internet Information Services (IIS) Manager and
do one of the following:
a. In Windows 7, on the Start menu, in the Search Programs and Files box, type inetmgr,
and then press Enter.
b. In Windows Server 2008 R2, on the Start menu, choose All Programs, choose Administrative Tools, and then choose Internet Information Service (IIS) Manager.
In the Connections pane, under Sites, choose Microsoft Dynamics NAV 2018 Web Client.
Under IIS, double-click Authentication.
To enable an authentication method, in the Authentication pane, choose the authentication, and then choose Enable in the Actions pane.
Restart the web server.
3.To restart IIS
- In the Connections pane of Internet Information Services (IIS)
Manager, choose the root node for your computer, and then in the
Actions pane, choose Restart.
For more information you can refer to this link: Troubleshooting: Server Error in '-' Application. Access Denied