Thread View: comp.lang.pascal.delphi.databases
4 messages
4 total messages
Started by Carsten Baeumchen
Thu, 20 Aug 1998 00:00
Problem with PDOXUSRS.LCK
Author: Carsten Baeumchen
Date: Thu, 20 Aug 1998 00:00
Date: Thu, 20 Aug 1998 00:00
134 lines
4896 bytes
4896 bytes
--------------800E261F3D98ACBCF7900DC7
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Hello.
hope you will find some time to give some advices to the following
problem.
-Delphi 3.0 (none C/S)
-Paradox
-SQL
I developed an application that executes hundereds of SQL statements and
stores the results to a locale table.
For that only one TQuery is used.
The structure is something like that :
Query.Perpare;
Query.SQL.clear;
Query.SQL.add ("the statement")
Query.Open;
"do something with the result table"
Query.Close;
Query.Unperpare;
When the program is launched the log file (PDOXUSRS.LCK) will be
created. When the procedere starts this file grows larger and larger
until an ecception occurs : (in German "Sperrdatei zu gro�") which means
about "Log file to large".
The problem in fact is that the log file will not be erased or be
shorten after closing one query so that the ecception does not occure.
On single stand alone computer the program works beautifully. Using it
within the network (NT) the trouble comes up. I have checked the
diskspace, etc of the server but everything is OK.
The program was allways started form workstations.
So my question is whether this is a known problem and how to solve it.
--
Best regards
Mit freundlichen Gr��en
Carsten B�umchen
================
http://www.Bundesligaverwaltung.home.pages.de
http://www.MDIPanel.home.pages.de
carsten.baeumchen@metronet.de
================
Neuss, Germany
--
Best regards
Mit freundlichen Gr��en
Carsten B�umchen
================
http://www.Bundesligaverwaltung.home.pages.de
http://www.MDIPanel.home.pages.de
carsten.baeumchen@metronet.de
================
Neuss, Germany
--------------800E261F3D98ACBCF7900DC7
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<HTML>
Hello.
<P>hope you will find some time to give some advices to the following problem.
<P>-Delphi 3.0 (none C/S)
<BR>-Paradox
<BR>-SQL
<P>I developed an application that executes hundereds of SQL statements
and stores the results to a locale table.
<BR>For that only one TQuery is used.
<BR>The structure is something like that :
<P>Query.Perpare;
<BR>Query.SQL.clear;
<BR>Query.SQL.add ("the statement")
<BR>Query.Open;
<BR>"do something with the result table"
<BR><B></B>Query.Close;
<BR>Query.Unperpare;
<BR>
<P>When the program is launched the log file (PDOXUSRS.LCK) will be created.
When the procedere starts this file grows larger and larger until an ecception
occurs : (in German "Sperrdatei zu groß") which means about "Log
file to large".
<BR>The problem in fact is that the log file will not be erased or be shorten
after closing one query so that the ecception does not occure.
<BR>On single stand alone computer the program works beautifully. Using
it within the network (NT) the trouble comes up. I have checked the diskspace,
etc of the server but everything is OK.
<BR>The program was allways started form workstations.
<P>So my question is whether this is a known problem and how to solve it.
<P>--
<BR>Best regards
<BR>Mit freundlichen Grüßen
<P>Carsten Bäumchen
<BR>================
<BR><A HREF="http://www.Bundesligaverwaltung.home.pages.de">http://www.Bundesligaverwaltung.home.pages.de</A>
<BR><A HREF="http://www.MDIPanel.home.pages.de">http://www.MDIPanel.home.pages.de</A>
<BR>carsten.baeumchen@metronet.de
<BR>================
<BR>Neuss, Germany
<BR>
<P>--
<BR>Best regards
<BR>Mit freundlichen Grüßen
<P>Carsten Bäumchen
<BR>================
<BR><A HREF="http://www.Bundesligaverwaltung.home.pages.de">http://www.Bundesligaverwaltung.home.pages.de</A>
<BR><A HREF="http://www.MDIPanel.home.pages.de">http://www.MDIPanel.home.pages.de</A>
<BR>carsten.baeumchen@metronet.de
<BR>================
<BR>Neuss, Germany
<BR> </HTML>
--------------800E261F3D98ACBCF7900DC7--
Re: Problem with PDOXUSRS.LCK
Author: pmunn_posse
Date: Fri, 21 Aug 1998 00:00
Date: Fri, 21 Aug 1998 00:00
48 lines
2528 bytes
2528 bytes
You need to set a Private directory for the tdatabase object, and make sure
every workstation has the same Net Dir setting in its alias. That is, every
workstation must point to the same folder on the network. The Inprise support
database has an item on this, but its exact number escapes me.
There is some information about locking in
http://www.inprise.com/devsupport/delphi/ti_list/TI3160.html
In article <35DC5CAA.DAB7E649@metronet.de>,
Carsten Baeumchen <carsten.baeumchen@metronet.de> wrote:
>
> --------------800E261F3D98ACBCF7900DC7
> Content-Type: text/plain; charset=iso-8859-1
> Content-Transfer-Encoding: 8bit
>
> Hello.
>
> hope you will find some time to give some advices to the following
> problem.
>
> -Delphi 3.0 (none C/S)
> -Paradox
> -SQL
>
> I developed an application that executes hundereds of SQL statements and
> stores the results to a locale table.
> For that only one TQuery is used.
> The structure is something like that :
>
> Query.Perpare;
> Query.SQL.clear;
> Query.SQL.add ("the statement")
> Query.Open;
> "do something with the result table"
> Query.Close;
> Query.Unperpare;
>
> When the program is launched the log file (PDOXUSRS.LCK) will be
> created. When the procedere starts this file grows larger and larger
> until an ecception occurs : (in German "Sperrdatei zu gro�") which means
> about "Log file to large".
[...]
--
Posse, Inc. - Minding The Store(r)
http://www.posse.com/
-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
Re: Problem with PDOXUSRS.LCK
Author: W. Prinzjakowitsch
Date: Fri, 21 Aug 1998 00:00
Date: Fri, 21 Aug 1998 00:00
154 lines
5817 bytes
5817 bytes
First it is not a logfile but a lockfile. Paradox uses this file to maintain
information who uses (and locks) which table. Borland wrote some TIs about this
and it would be better for you to read them than to read my explanation :-)
the address would be
http://www.inprise.com/devsupport/bde/ti_list/
I myself have not succeeded completely in mastering the subject. What bothers
me is the 'network initialization failure' which is connected with is connected
to PDOXUSERS.LCK and PDOXUSERS.NET too. Good luck!
In article <35DC5CAA.DAB7E649@metronet.de>, carsten.baeumchen@metronet.de
says...
>
>
>--------------800E261F3D98ACBCF7900DC7
>Content-Type: text/plain; charset=iso-8859-1
>Content-Transfer-Encoding: 8bit
>
>Hello.
>
>hope you will find some time to give some advices to the following
>problem.
>
>-Delphi 3.0 (none C/S)
>-Paradox
>-SQL
>
>I developed an application that executes hundereds of SQL statements and
>stores the results to a locale table.
>For that only one TQuery is used.
>The structure is something like that :
>
>Query.Perpare;
>Query.SQL.clear;
>Query.SQL.add ("the statement")
>Query.Open;
>"do something with the result table"
>Query.Close;
>Query.Unperpare;
>
>
>When the program is launched the log file (PDOXUSRS.LCK) will be
>created. When the procedere starts this file grows larger and larger
>until an ecception occurs : (in German "Sperrdatei zu gro�") which means
>about "Log file to large".
>The problem in fact is that the log file will not be erased or be
>shorten after closing one query so that the ecception does not occure.
>On single stand alone computer the program works beautifully. Using it
>within the network (NT) the trouble comes up. I have checked the
>diskspace, etc of the server but everything is OK.
>The program was allways started form workstations.
>
>So my question is whether this is a known problem and how to solve it.
>
>--
>Best regards
>Mit freundlichen Gr��en
>
>Carsten B�umchen
>================
>http://www.Bundesligaverwaltung.home.pages.de
>http://www.MDIPanel.home.pages.de
>carsten.baeumchen@metronet.de
>================
>Neuss, Germany
>
>
>--
>Best regards
>Mit freundlichen Gr��en
>
>Carsten B�umchen
>================
>http://www.Bundesligaverwaltung.home.pages.de
>http://www.MDIPanel.home.pages.de
>carsten.baeumchen@metronet.de
>================
>Neuss, Germany
>
>
>--------------800E261F3D98ACBCF7900DC7
>Content-Type: text/html; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>
><HTML>
>Hello.
>
><P>hope you will find some time to give some advices to the following problem.
>
><P>-Delphi 3.0 (none C/S)
><BR>-Paradox
><BR>-SQL
>
><P>I developed an application that executes hundereds of SQL statements
>and stores the results to a locale table.
><BR>For that only one TQuery is used.
><BR>The structure is something like that :
>
><P>Query.Perpare;
><BR>Query.SQL.clear;
><BR>Query.SQL.add ("the statement")
><BR>Query.Open;
><BR>"do something with the result table"
><BR><B></B>Query.Close;
><BR>Query.Unperpare;
><BR>
>
><P>When the program is launched the log file (PDOXUSRS.LCK) will be created.
>When the procedere starts this file grows larger and larger until an ecception
>occurs : (in German "Sperrdatei zu groß") which means about "Log
>file to large".
><BR>The problem in fact is that the log file will not be erased or be shorten
>after closing one query so that the ecception does not occure.
><BR>On single stand alone computer the program works beautifully. Using
>it within the network (NT) the trouble comes up. I have checked the diskspace,
>etc of the server but everything is OK.
><BR>The program was allways started form workstations.
>
><P>So my question is whether this is a known problem and how to solve it.
>
><P>--
><BR>Best regards
><BR>Mit freundlichen Grüßen
>
><P>Carsten Bäumchen
><BR>================
><BR><A
HREF="http://www.Bundesligaverwaltung.home.pages.de">http://www.Bundesligaverwa
ltung.home.pages.de</A>
><BR><A
HREF="http://www.MDIPanel.home.pages.de">http://www.MDIPanel.home.pages.de</A>
><BR>carsten.baeumchen@metronet.de
><BR>================
><BR>Neuss, Germany
><BR>
>
><P>--
><BR>Best regards
><BR>Mit freundlichen Grüßen
>
><P>Carsten Bäumchen
><BR>================
><BR><A
HREF="http://www.Bundesligaverwaltung.home.pages.de">http://www.Bundesligaverwa
ltung.home.pages.de</A>
><BR><A
HREF="http://www.MDIPanel.home.pages.de">http://www.MDIPanel.home.pages.de</A>
><BR>carsten.baeumchen@metronet.de
><BR>================
><BR>Neuss, Germany
><BR> </HTML>
>
>--------------800E261F3D98ACBCF7900DC7--
>
Re: Problem with PDOXUSRS.LCK
Author: W. Prinzjakowitsch
Date: Tue, 25 Aug 1998 00:00
Date: Tue, 25 Aug 1998 00:00
12 lines
1650 bytes
1650 bytes
If I understood the writings correctly, the private dir is used for tempfiles and can be whatever you like. The netdir is the same on every machine (NT network with TCP/IP), but still ... this message appears (but not on every machine). In article <6rjqll$7d7$1@nnrp1.dejanews.com>, pmunn_posse@my-dejanews.com says... > >You need to set a Private directory for the tdatabase object, and make sure >every workstation has the same Net Dir setting in its alias. That is, every >workstation must point to the same folder on the network. The Inprise support >database has an item on this, but its exact number escapes me.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads