I've been trying to figure out how to make clients that are idle disconnect from the server, but also allow certain clients to stay connected.
"C:\Program Files (x86)\Microsoft Dynamics NAV\70\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe" -settings:"\\server\share\NAV70prod_timeout_true.config" "C:\Program Files (x86)\Microsoft Dynamics NAV\70\RoleTailored Client\Microsoft.Dynamics.Nav.Client.exe" -settings:"\\server\share\NAV70prod_timeout_false.config"
Answers
The server session will be available for reconnect then for 1 more minute before closing (due to the 10 min setting in de idle client timeout)
Thanks for the suggestion, it still didn't stay alive though. I modified the value from an interval to a "length" value (i.e. from 9 minutes to MaxValue/999 minutes).
Also if you want to kill session which is idle for 10 mins or more than in that case you have to perform below:-
1) Set “ClientServicesKeepAliveInterval” property to 600 in ClientUserSettings.Config file
2) Update the Idle Client Timeout on NAV administration as you did.
Thanks
I should have mentioned that I've tried different value formats in the "ClientServicesKeepAlive" value:
- 00:10:00
- 600
I did however just try again, I tried writing a lower value (300 seconds) and a higher value (900 seconds). Still didn't work though.I'm using NAV 2013 V. 7.0.35355.0
It will only work by doing the change in Idle client Timeout in NAV admin shell.
Changes in "ClientUser Settings" file came from 2015 onwards. (if I recall my self correctly)
The issue is not regarding "Idle Client Timeout". Clients are getting disconnected after the specified amount of time has passed.
The objective is that I want certain clients to stay connected past the timeout via "ClientServicesKeepAliveInterval". The issue is that even though I assign the "ClientServicesKeepAliveInterval" different values, clients are still disconnected.
This topic rang a bell. I've checked our ticket system and found an old ticket. Following this ticket NAV 2013 only has the option "Idle Client Timeout", KeepAlive did not exist yet. The parameter "ClientServicesKeepAliveInterval" is introduced with the NAV 2013 R2 platform. The value is in seconds.
But your problem can be resolved though.
Example shortcuts
Good to know:
In Dynamics NAV 2016 Cumulative Update 8 the ClientKeepAlive setting has been moved from the user level to the service level, and is no longer defined in number of seconds but as a time interval, just like the Idle Client Timeout setting. So you can configure this value on the NST.
Hope this helps
Wonderful answer RemkoD, very insightful and well written, thank you!