Solved

Error "Directory is busy"

Posted on 2002-07-12
6
2,746 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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

820 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