Error "Directory is busy"

I'm currently working with Borland Delphi 5 and a standard shared database (Paradox).

That application is used by different users. When we used a build version of the program everything works fine but if I use the run command of the development tool I have a "Directory is busy" error.

I've already tried to delete the file, I'm using a TSession with private and net directories. I'm a bit lost...

Could U help me? Thx a lot!
Who is Participating?
kretzschmarConnect With a Mentor Commented:

keep the tables in the ide closed,
and open the tables at appstart
(in the formcreate-event of
the mainform for example)

then your problem should be gone

adjust the local share in
the bde-admin to the other value

hope this helps

meikl ;-)
table is opened exclusive by another instance
or local share property in the bde-admin tool
did not have a proper value

if the problem is the .net file,
then a message like
directory is controlled by another .net file
coems up

but i guess you open the table exclusive in the ide,
so that the running insatnce started from within the ide
cannot open the table

meikl ;-)

delete the .lck files,
if definivly nobody accesses the database-directory

meikl ;-)
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

and next point

private-dirs cannot shared by different sessions,
if local share is set to false

meikl ;-)
usa4manuAuthor Commented:
In fact I've just put the to false and add a "logging" button to put the session active once the form loaded and it's working... Very strange... Do U have an idea why?

I haven't found any lck file.

Thx for the quick answer and hit the points ;-)
thats sounds really a bit weird.

but i think its a problem of the private-dir,
which was just reserved by the open tsession in the ide.

thanks for the points :-)

meikl ;-)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.