Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Базы";
Текущий архив: 2002.11.18;
Скачать: [xml.tar.bz2];

Вниз

Lock file has grown too large   Найти похожие ветки 

 
Nemesis   (2002-10-28 10:48) [0]

Причина возникновения этой ошибки и способы избежания ее ??? (или ришения)


 
Mike Kouzmine   (2002-10-28 11:57) [1]

Используешь датабазе и или транзакции?


 
Nemesis   (2002-10-28 12:24) [2]

Mike Kouzmine (28.10.02 11:57)
Используешь датабазе и или транзакции?


Ты будеш смеяться - но ни то, ни другое ...
Сама база Парадоксовская но гоняется по сети (Local Share = TRUE и всё такое)


 
Mike Kouzmine   (2002-10-28 12:39) [3]

Посмотри нет ли запросов открытых. (открываются без закрытия)


 
Nemesis   (2002-10-28 12:51) [4]

Mike Kouzmine (28.10.02 12:39)

Трабла возникает при формировании достаточно сложного отчета


 
Mike Kouzmine   (2002-10-28 14:54) [5]

Была такая же херня когда содавалась сложная выборка с послед программным мод данных. Локфайл разрастался до 36 мб и появлялось такое сообщение. Избавился - проверил все запросы, чтобы не были открыты больше чем необходимо, и отказался от компонента TDatabase.


 
Nemesis   (2002-10-28 15:07) [6]

Mike Kouzmine (28.10.02 14:54)

у МЕНЯ ЛОКФАЙЛ ОСТАНАВЛИВАЕТСЯ ГДЕ-ТО В РАЙОНЕ 25 МЕТРОВ. мИНИМУМ ОТКРЫТЫХ ТАБЛИЦ И ЗАПРОСОВ ...
Тот же вариант в локальном режиме работает без проблем


 
Виталий Панасенко   (2002-10-28 15:41) [7]

Вот, нате...
TI256B.txt Removing "Lock file has grown too large" Error
Category :General Programming
Platform :All
Product :BDE All
Description:
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:

1) The Executable is in the same directory as the table.
2) The Private Directory is not correctly set or not set
at all.
3a) Delphi: Having a TTable open on a paradox table and
then performing multiple TQuery operations.
3b) C / C++: Having a table open with DbiOpenTable and
then performing multiple queries with DbiQExec and/or
DbiQExecDirect.
4) 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:

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.


 
Nemesis   (2002-10-28 16:47) [8]

Спасибо - буду разбираться...
Откуда это инфа



Страницы: 1 вся ветка

Форум: "Базы";
Текущий архив: 2002.11.18;
Скачать: [xml.tar.bz2];

Наверх




Память: 0.46 MB
Время: 0.01 c
14-59415
easy
2002-10-25 17:03
2002.11.18
MSOffice


4-59513
Novichek
2002-10-05 21:33
2002.11.18
Можно ли развернуть/свернуть все проги нетрогая свою?


14-59433
igorr
2002-10-30 17:24
2002.11.18
Форум по C++


14-59404
Дмитрий К.К.
2002-10-28 06:48
2002.11.18
Новости мира компонент


7-59459
Krot
2002-09-19 22:07
2002.11.18
Добавление вкладки





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский