Solved

Error "Directory is busy"

Posted on 2002-07-12
6
2,666 Views
Last Modified: 2007-12-19
Hi,
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 pdoxusrs.net file, I'm using a TSession with private and net directories. I'm a bit lost...

Could U help me? Thx a lot!
0
Comment
Question by:usa4manu
  • 5
6 Comments
 
LVL 27

Expert Comment

by:kretzschmar
ID: 7148541
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 ;-)
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 7148545
appendix:

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

meikl ;-)
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 7148550
and next point

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

meikl ;-)
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 27

Accepted Solution

by:
kretzschmar earned 500 total points
ID: 7148558
advice

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

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

hope this helps

meikl ;-)
0
 

Author Comment

by:usa4manu
ID: 7148573
In fact I've just put the TSession.active 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 ;-)
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 7148579
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 ;-)
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now