BDE em apuros

Delphi

01/09/2004

Tenho um programa que usa paradox em rede, e estou tendo um problema com um dos micros da rede. Toda vez que vou gravar dados em alguns arquivos (o problema só aparece com alguns arquivos) recebo a mensagem ´Lock File Has Grown Too Large´.
Alguém sabe o que significa isto e como resolver.
Mais um detalhe, se eu fizer as mesmas operação no micro que é o servidor, o erro não aparece.

Grato pela atenção.

Luiz


Lab

Lab

Curtidas 0

Respostas

Lucas Silva

Lucas Silva

01/09/2004

Este erro acontece comigo também...
Meu banco é IB e sempre dá nas estações (no servidor eu nunca tentei).

Se alguem souber ai, ficarei grato...


GOSTEI 0
Dedi

Dedi

01/09/2004

To solve the problem, make sure that your application has
done ALL of the following:

1) Under the directory where the executable is, create
three new directories: TABLES, PRIV, and NET. Place
all the tables for the application into the TABLES
directory.
2) Set the session´s private directory to the PRIV
directory. Take the following steps according to
the software you are using.

DELPHI:
Session.PrivateDir := ExtractFilePath(ParamStr(0)) + ´PRIV´;

C / C++:
DbiSetPrivateDir(szPath);
// szPath is the fully qualified path (not relative)
// to the PRIV directory.

3) Set the session´s network directory to the NET
directory. Take the following steps according to
the software you are using.

DELPHI:
Session.NetFileDir := ExtractFilePath(ParamStr(0)) + ´NET´;

C / C++:
DbiSetProp(hSes, sesNETFILE, (UINT32)szPath);
// szPath is the fully qualified path (not relative)
// to the NET directory.

// hSes is the current session handle. This can be
// retrieved using the DBiGetCurrSession function.

4) If LOCAL SHARE is set to true and you are not sharing
tables between different applications at the same time,
change LOCAL SHARE to false.

The above steps will correct the Lock File Too Large error.


Reference: http://community.borland.com/article/0,1410,15256,00.html


GOSTEI 0
POSTAR