Hi expert, I am testing demo database for the web client of NAV2013. Currently all the users within the LAN can access page from the browser using ip address without any problems. But currently I have one issue for the the users outside the office. This user is the domain user. When he typed the ip address on the web browser, it popped up the screen for user name and password. After serveral tries, it showed the error below:
Server 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.
Please advise! Thank you!
*This post is locked for comments
I have worked it out. Thank you, expert!
HI Snoppy,
very interesting question.
looks like a permissions problem between IIS and NAV Server (NST)
the Dynamics NAV Database Server (NST) and Dynamics NAV WebClient are running in different physical computers ?
some tips & checks:
- try with http://servername.domain:8080 instead of IP (DNS resolution, if possilbe)
- configure the address of the Microsoft Dynamics NAV Web client as a trusted URI in Browser (for all browsers)
- check for any errors or warning "ANONYMOUS LOGIN" in windows log (IIS Server and NAV Server)
> if there are : trusted delegation error
- use NETWORK SERVICES to start the NAV Service in place of SYSTEM
- add NETWORK SERVICES and SYSTEM users in NAV Users (SUPER Role)
- If Web Client is using Windows authentication, the Negotiate provider must be included at the top of the providers list in the Windows authentication setup in IIS.
IIS must first authorize the user to access the file based on ACL's set on that file (usually inherited from parent folder)
- If you enabled only Windows Integrated security in IIS, then you need to make sure that user has access to Read & Execute the files you wish him to use in your web site. (in the root folder of Web Client)
- if you are using Mozilla Firefox as your browser, then you must enable cookies
Some links:
Troubleshooting: 401 - Unauthorized: Access is denied due to invalid credentials
msdn.microsoft.com/.../hh167207(v=nav.70).aspx
Configuring the Credential Type on the Microsoft Dynamics NAV Web Client Website.
msdn.microsoft.com/.../jj551778(v=nav.70).aspx
I hope it will be useful.
No, I only opened the port from the router for this person to remote access to this computer. Is the VPN the only way to access from the web?
If I don't use VPN, is there any way? Thank you very much!
Do you use VPN?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156