Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

Web Access

Posted on by 4,818

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

  • snoppy Profile Picture
    snoppy 4,818 on at
    RE: Web Access

    I have worked it out. Thank you, expert!

  • Suggested answer
    Roberto Stefanetti Profile Picture
    Roberto Stefanetti 12,998 on at
    RE: Web Access

    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.

  • snoppy Profile Picture
    snoppy 4,818 on at
    RE: Web Access

    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!

  • Aleksandar Totovic Profile Picture
    Aleksandar Totovic 16,765 on at
    RE: Web Access

    Do you use VPN?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans