web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Web Access

(0) ShareShare
ReportReport
Posted on by 4,824

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 the same question (0)
  • Aleksandar Totovic Profile Picture
    16,765 on at

    Do you use VPN?

  • snoppy Profile Picture
    4,824 on at

    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!

  • Suggested answer
    Roberto Stefanetti Profile Picture
    12,998 on at

    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
    4,824 on at

    I have worked it out. Thank you, expert!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

#1
HoangNam Profile Picture

HoangNam 7

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans