BDE em apuros

01/09/2004

0

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


Responder

Posts

02/09/2004

Lucas Silva

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...


Responder

02/09/2004

Dedi

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


Responder

Assista grátis a nossa aula inaugural

Assitir aula

Saiba por que programar é uma questão de
sobrevivência e como aprender sem riscos

Assistir agora

Utilizamos cookies para fornecer uma melhor experiência para nossos usuários, consulte nossa política de privacidade.

Aceitar