ISSUE Summary:
Web client working fine with localhost and outside the server not working with the IP or server name and give below error
Error accessing Website Microsoft Dynamics NAV 2016 Web Client
Url: http://**.**.***.***:8080/DynamicsNAV90/WebClient/list.aspx?spa=1&dc=0&inapp=false
Type: Microsoft.Dynamics.Nav.Types.NavServerNotFoundException
Message: A server was not found at "net.tcp://*******:7046/DynamicsNAV/Service". Either the URL is incorrect or the server is currently not available.
StackTrace:
Analysis and Action plan:
please follow the below steps:
1. I started with the Web client delegation and register SPN according to the below doc
2. The important thing after adding the delegation to run below command @ CMD for both servers (APP&WEB)
Klist Purge
3. And for SPN after adding it please be sure that contains full instance name, not DynamicsNAV only it should be like below :
4. After doing these steps I’m still facing the same issue
5. During verifying I found something strange in the config folder that containing the applicationhost.config that the user for service doesn’t have permission on it
6. I gave it full permission and the issue has been resolved
c:\Windows\System32\inetsrv\config.