Stability problem with Windows Server 2008, Vista or 7 ?

Problems

  • Stability problem with Windows Server 2008, Vista or Seven ?
  • Reading and writing problems in files ?
  • Corrupted index ?

Solutions

Solution 1 : 3 settings to deactivate with Windows Server 2008, Windows Vista or Windows 7 :
  • TCP Chimney Offload
  • Receive Side Scaling
  • Network Direct Memory Access features in Windows Server 2008

Informations :

Solution 2 : SMB2

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 :

Top


How close automatically open sessions in Logistics with TS ?

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.
This operation is also automatically executed at different times of a session.

ECHO

Specify if a message is displayed in the bottom bar of Logistics at each interval.

Top


How repair a corrupt table ?

See Reparation of a corrupted DBF table.

Top


Error code 1104 and 1105

Problem

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.

Solution

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

(warning) These commands must be only executed on the server.

After reboot the server to activate new settings.

Top