Delphi Pages Forums

Delphi Pages Forums (
-   .NET DB-Aware (
-   -   .Net &.LCK file In paradoxe DB (

walid76 09-04-2002 04:53 AM

.Net &.LCK file In paradoxe DB
when i use paradoxe in network some application can not run and gifs the message "database loocked by another .net file..."
what is this broblem and how can i repar it?
pleas help quickly & thanks

HTML 09-04-2002 07:20 AM

RE: .Net &.LCK file In paradoxe DB
Hello & welcome to the forum.

You should scan all folders where the Tables recide and check and delete files named Paradox.lck and Pdoxusrs.lck, before you open any Tables.

Also reading this article is recommended if you have a client server application.,1410,15247,00.html

Hope this helps.

In the future you may also want to search the forum, this question has been asked a couple of times.

GeoWink 09-04-2002 11:21 AM

RE: .Net &.LCK file In paradoxe DB
Be sure that each user PC has the BDE installed, if that is what you are using, and that all of them point to the same location for the .NET file. That is important. If this is not the case you will get all kinds of LCK files left and users won't be able to use the app.


Robert_Thompson 09-24-2009 04:17 PM

Here is the code we use, placed in the first form opened:

procedure TMenuForm.FormCreate(Sender: TObject);
Dir: string;
Dir := 'C:\Priv\appname';
session.PrivateDir := 'C:\Priv\appname';
Session.NetFileDir := 'H:\Net\appname';


The directory 'C:\Priv\appname' is created on every PC when the app is first run.

We created, manually, 'H:\Net\appname'. (H is our network drive)

The file is created in 'H:\Net\appname' automatically when the app starts.

I think that you should delete all PDOXUSRS.NET and PDOXUSRS.LCK files before you implement this change.



eshall 10-13-2014 05:26 AM

Re: Fitness
I will let you know if this works for me Thanks and keep posting such a informative blogs

All times are GMT. The time now is 01:48 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.