Informations :
Define lifetime to 0 to solve problems we had in Winbooks (when deleting or creating files).
For this, add 3 following keys in the windows registry of client machine in
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Lanmanworkstation\Parameters
to define lifetime to 0 for different caches. After maybe restart the machine.
Name | Type | Data |
---|---|---|
FileInfoCacheLifetime | DWORD | 0 |
FileNotFoundCacheLifetime | DWORD | 0 |
DirectoryCacheLifetime | DWORD | 0 |
Informations :
The problem occurs when an user works with TS and forgets to make a log off. To resolve this problem, there is a system based on a timer which checks if the application is still active.
To active this system, create a text file named SESSION.INI in GEN directory. In this file, add 3 lines :
INTERVAL=5 TIMEOUT=300 ECHO=No |
INTERVAL | Specify a number in second. At each interval, Logistics writes an information in the session table to indicate that the session is well active. |
TIMEOUT | Specify a number in second. The operation in menu Utilities > Release non-active users removes sessions which haven't been updated after a number of seconds specified in TIMEOUT. |
ECHO | Specify if a message is displayed in the bottom bar of Logistics at each interval. |
See Reparation of a corrupted DBF table.
On Windows servers 2008, 2011 and 2012, a timeout is implemented with opened files on LAN. By default this timeout is 15 minutes. And at the end of timeout, all opened files are closed. And so these files are sometimes corrupted.
To deactivate this timeout, open the Windows Command Prompt in administrator mode and type the following command to see all parameters :
net config server |
and next type this command to deactivate the timeout :
net config server /AUTODISCONNECT:-1 |
These commands must be only executed on the server.
After reboot the server to activate new settings.