|
Lock file has grown too large
|
|
O que você gostaria de ver nesta página?
Lock file has grown too largeComo corrigir a mensagem de erro do BDE 'LOCK FILE HAS GROWN TOO LARGE', utilizando tabelas Paradox como local fileEste erro é específico de tabelas Paradox e pode ser causado em qualquer BDE (16 ou 32 Bits) Para resolver o problema, tenha certeza que sua aplicação está da seguinte forma: Abaixo do diretório onde está o executável, crie três novos diretórios: TABLES, PRIV, e REDE. Coloque todas as tabelas para a aplicação no diretório de TABLES. Altere o diretório privado da sessão para o diretório de PRIV. Faça o seguinte no seu programa em Delphi DELPHI: Session.PrivateDir := ExtractFilePath(ParamStr(0)) + ‘ PRIV’; Altere o diretório de rede da sessão para o diretório Rede. Faça o seguinte: DELPHI: Session.NetFileDir := ExtractFilePath(ParamStr(0)) + ‘ REDE’; Se o LOCAL SHARE for igual a True e você não está compartilhando as tabelas ao mesmo tempo entre aplicações diferentes, mude o LOCAL SHARE para False. Estes passos resolverão o problema. Technical documents from InpriseTechnical Information Document (TI2993) Removing "Lock file has grown toolarge" ErrorProduct: BDE Version: All Platform: Windows 3.1, Windows 95, Windows NT ---------------------------------------------------------------- Lock file has grown too large, Decimal:9495 Hex:2517 This problem is specific to Paradox tables and can be caused in any BDE (16 or 32 Bit) application that meet some or all of the following criteria: The Executable is in the same directory as the table. The Private Directory is not correctly set or not set at all. Delphi: Having a TTable open on a paradox table and then performing multiple TQuery operations. C / C++: Having a table open with DbiOpenTable and then performing multiple queries with DbiQExec and/or DbiQExecDirect. LOCAL SHARE set to true in the BDE Configuration Utility on the System page. To solve the problem, make sure that your application has done ALL of the following: 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. 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. 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. 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. ---------------------------------------------------------------- DISCLAIMER: You have the right to use this technical information subject to the terms of the No-Nonsense License Statement that you received with the Borland product to which this information pertains. Trademarks & Copyright © 1998 INPRISE Corporation. Last modified on 4-February-1999. |
importar no delicious Ganhe dinheiro com links patrocinados Aumente seu pagerank comprando Link Hospedagem de Páginas Grátis Ganhe com seu site! 2GB Grátis para Online Backup! Links patrocinados:
Poker RegrasPokercores htmlwebdesign poker de graça importar no delicious sputnix Bookmark to:
CID10: a09 b34_9 c18_9 c44_9 c61 c73 f06_8 f19 f20_0 f29 f31_8 f31_9 f32 f32_0 f32_2 f33_1 f40_9 f41_1 f41_9 f42_2 f43_1 f43_2 f60_3 f71_0 f72 f72_8 f84_0 f90_1 i10 j18 m19_0 m25_5 m41_1 m46_9 m47_2 m47_8 m48_0 m50_1 m53_1 m54_1 m54_4 m54_5 m65 m75_1 m75_2 m77_1 m79_0 m79_1 n60_2 n87_1 q90 r42 s60_0 z31_0 z43_1 z43_5 z54_0 CID-10 |