Skip to main content

Notifications

Microsoft Dynamics NAV forum
Suggested answer

Connection Lost Error in Dynamics NAV 2016

Posted on by 15

connection-lost.PNG

Hi All,

Can somebody help me? 

I'm using Microsoft Dynamics NAV 2016,

a couple days ago we got a problem connection lost. as like on that picture, we tried to restart Server and also restart Server Instance but it doesn't solve yet.

you know it was so annoying when you focus on your work but it lost suddenly :( .

Needs Help!

Thank you All,

Duma

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,640 on at
    RE: Connection Lost Error in Dynamics NAV 2016

    2019_2D00_08_2D00_07_5F00_13_2D00_27_2D00_39.png

    I am referring to the service Account. Your event viewer is not clear, please re-attach.

  • Suggested answer
    RockwithNav Profile Picture
    RockwithNav 6,562 on at
    RE: Connection Lost Error in Dynamics NAV 2016

    20 minutes of session timeout seems OK to me, the screenshot that you sent of event log is not clear to me, cab you just let me know whats the error logged??

  • Roduma Profile Picture
    Roduma 15 on at
    RE: Connection Lost Error in Dynamics NAV 2016

    Hi Olister,

    I Got It... 

    This is it and we never changed / edited anything in there since go live. 

    I dunno if there's another company has a case like this, Bc I so confused and sometimes it's run normally but sometimes it was drive our user get crazy. I couldn't find and analyze this cases pattern and even could't to replicate it.

    webconfig.txt

    Best Regards w/ Thanks,

    Duma

  • Suggested answer
    Olister Rumao Profile Picture
    Olister Rumao 3,957 on at
    RE: Connection Lost Error in Dynamics NAV 2016

    Hi Duma,

    In your VM where NAV server is installed goto C:\inetpub\wwwroot\<ServerInstanceName>.

    You will find a web.config file something like this.

    6366.IMg1.png

    You have to check the session timeout in this file.

    You will need to change this parameter and restart the WebServerInstance from IIS.

  • Roduma Profile Picture
    Roduma 15 on at
    RE: Connection Lost Error in Dynamics NAV 2016

    Hi Suresh..

    Did you meant Service User (RTC) that look like picture's on bellow??

    or which where's service user did you mean? 

    7041.AdminNAV-Setting.jpg

    Best Regards,

    Duma

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,640 on at
    RE: Connection Lost Error in Dynamics NAV 2016

    Duma,

    I am referring to the service user which is running the NAV Service, not the user which is trying to login.

  • Roduma Profile Picture
    Roduma 15 on at
    RE: Connection Lost Error in Dynamics NAV 2016

    hy suresh...

    I appreciate you respond,

    Btw we didn't set any password on user client bc we are using user domain,

    7367.event-viewer-log.jpg[View:/cfs-file/__key/communityserver-discussions-components-files/34/ClientUserSettings.config_2D00_indah.txt]

    here's I enclosed about user config and event viewer.

    Thankyou,

    Duma

  • Roduma Profile Picture
    Roduma 15 on at
    RE: Connection Lost Error in Dynamics NAV 2016

    hi Olister...

    I appreciate your respond 

    I enclose idle client 10 seconds, and we've been set like this since 2017 and there's no issue but now it's time out under 4 seconds. and if we operate it directly from remot server  it doesn't happen.

    AdminNAV-Setting.jpg

  • Roduma Profile Picture
    Roduma 15 on at
    RE: Connection Lost Error in Dynamics NAV 2016

    Hi Rock..

    My appreciate your respond, this in I enclose about event Viewer.

    fyi when I remot server and then run NAV in there it didn't happened and I dunno why.

    event-viewer-log.jpg

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,640 on at
    RE: Connection Lost Error in Dynamics NAV 2016

    Please check the event viewer log. I ran across these kinds of issues when the service user is locked or the password is expired, so please make to check the Service user is enabled and active.

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,524 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,493 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans