Hello,
I'm facing a problem with reconnecting to the NAV server after the session timeout.
Problem description:
After upgrading from NAV2009 to NAV2016, we have encountered a problem, which causes some issues for the users. In NAV2009 if the client timed out, it was able to connect to the server and restore the session. However, NAV2016 client isn't able to reconnect to the server. It does offer the possibility to reconnect, but it fails and causes the client to crash into Process isn’t responding.
This is the first alert window user encounters after timing out:
Microsoft Dynamics NAV
---------------------------
The server "……." is either unavailable or your connection has been lost. Do you want to attempt to reconnect?
---------------------------
Yes No
---------------------------
If user clicks yes, following alert window shows up:
---------------------------
Microsoft Dynamics NAV
---------------------------
The session could not be retrieved from the server. The application will close.
---------------------------
OK
---------------------------
If user clicks no, following alert box shows up:
[Window Title]
Microsoft.Dynamics.Nav.Client
[Main Instruction]
Microsoft.Dynamics.Nav.Client has stopped working
[Content]
Windows can check online for a solution to the problem.
[V] View problem details [Check online for a solution and close the program] [Close the program]
Both alert windows can be displayed after clicking both of the buttons (YES/NO)
Is there a way to set the client or the server to shut itself down without crashing (meaning to shut down normally just with a message)?
Question:
Can the client/server be set up is some way that he doesn’t offer the possibility to reconnect and simply closes the connection with a simple error message like in the given example?
Server settings:
![]()
![]()