Server registry keys
 
            
                
                    Bgestel                
                
                    Member Posts: 136                
            
                        
            
                    Hi all,
A customer of mine is running a 3.70 native server. This server is running on a co location. performance is good but once in a while te connection fails and everybody is kicked out of his/her client. This isn't the problem. What also happens is that nav keeps the sessions alive <- see session table of the people who got kicked out. So when logging back in they are using to users in the licence. Nav doesn't have a kick user function #-o so the serverservice needs to be restarted.
I can remember there being a registry key which i can add to the registry keys for the navision server which allows me to set a Time to live for inactive/disconnected sessions.
Does annyone know what this key is ?
thx in advance.
                A customer of mine is running a 3.70 native server. This server is running on a co location. performance is good but once in a while te connection fails and everybody is kicked out of his/her client. This isn't the problem. What also happens is that nav keeps the sessions alive <- see session table of the people who got kicked out. So when logging back in they are using to users in the licence. Nav doesn't have a kick user function #-o so the serverservice needs to be restarted.
I can remember there being a registry key which i can add to the registry keys for the navision server which allows me to set a Time to live for inactive/disconnected sessions.
Does annyone know what this key is ?
thx in advance.
**********************
** SI ** Bert Van Gestel **
**********************
** SI ** Bert Van Gestel **
**********************
0                
            Comments
- 
            it was something like:How to change KeepAliveTime in WIN NT
 The KeepAliveTime is an adjustable parameter where you can decide how often NAVISION and NAVISION Financials will check for a "dead" client.
 The NAVISION server and NAVISION Financials server uses the TCP/IP keep alive packet, to find out If a client beaks down, or the user shuts it off.
 The following is a copy from a Microsoft forum. (Look for KeepAliveTime)KeepAliveTime
 Key: Tcpip\Parameters
 Value Type: REG_DWORD - Time in milliseconds
 Valid Range: 1 - 0xFFFFFFFF
 Default: 7,200,000 (two hours)
 Description: The parameter controls how often
 TCP attempts to verify that an idle
 connection is still intact by sending a keep
 alive packet. If the remote system is still
 reachable and functioning, it will
 acknowledge the keep alive transmission. Keep
 alive packets are not sent by default. This
 feature may be enabled on a connection by an
 application.Windows Registry Editor Version 5.00
 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
 "KeepAliveTime"=dword:0000ea60
 "KeepAliveInterval"=dword:000003e80
- 
            
 although I know some of the discussions about these parameters, I still would like to remind for the following things:kine wrote:it was something like:How to change KeepAliveTime in WIN NT
 The KeepAliveTime is an adjustable parameter where you can decide how often NAVISION and NAVISION Financials will check for a "dead" client.
 The NAVISION server and NAVISION Financials server uses the TCP/IP keep alive packet, to find out If a client beaks down, or the user shuts it off.
 The following is a copy from a Microsoft forum. (Look for KeepAliveTime)KeepAliveTime
 Key: Tcpip\Parameters
 Value Type: REG_DWORD - Time in milliseconds
 Valid Range: 1 - 0xFFFFFFFF
 Default: 7,200,000 (two hours)
 Description: The parameter controls how often
 TCP attempts to verify that an idle
 connection is still intact by sending a keep
 alive packet. If the remote system is still
 reachable and functioning, it will
 acknowledge the keep alive transmission. Keep
 alive packets are not sent by default. This
 feature may be enabled on a connection by an
 application.Windows Registry Editor Version 5.00
 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
 "KeepAliveTime"=dword:0000ea60
 "KeepAliveInterval"=dword:000003e8- 
a.) the registry settings are globally used for every TCP connection, not only for Navision, unless b.)
b.) if the navision client would support application-level keepalive, it could also overwrite the registry settings on a connection level directly by ioctl calls
c.) as the KeepAlive works on a TCP stack level, it only covers communication problems on a network level and not a "hanging" client
d.) keepalive is by default switched off and has to be enabled by the application
 Torsten
 MCP+I, MCSE NT, Navision MCT (2004,2005)0
- 
            thank you, regard this as solved**********************
 ** SI ** Bert Van Gestel **
 **********************0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 322 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

