| View previous topic :: View next topic |
| Author |
Message |
jo Guest
|
Posted: Wed Jun 16, 2004 8:03 pm Post subject: 'directory controlled by other .net file' error |
|
|
Hi
I have written an app that uses a paradox db. I did not use an alias as I
wanted the app to run without needing to install it, or set an alias in the
bde. The app works fine on stand alone machines that have the bde installed.
However, I have just placed the app in a shared directory of a network( Y:
drive), it works fine for the first person who runs the app, but the next
person gets an error:
'directory controlled by other .net file'
file of dir does not exist
file c: pdoxusers.net..
dir c:
file y:....pdoxusers.lck
It is running on win98 workstations with a win2000 server (i think) I am
dealing with the db using the bde SQL and Table components with actual
database names ie 'company.db'
Is this because i havent set an alias?
Thanks for any help given
Jo
|
|
| Back to top |
|
 |
Bruce Roberts Guest
|
Posted: Wed Jun 16, 2004 8:41 pm Post subject: Re: 'directory controlled by other .net file' error |
|
|
"jo" <fitgirl99 (AT) btinternet (DOT) com> wrote
| Quote: | 'directory controlled by other .net file'
file of dir does not exist
file c: pdoxusers.net..
dir c:
file y:....pdoxusers.lck
It is running on win98 workstations with a win2000 server (i think) I am
dealing with the db using the bde SQL and Table components with actual
database names ie 'company.db'
Is this because i havent set an alias?
|
The BDE is incorrectly configured on the workstations. Somewhere at the
Borland web site there is a document that describes how this should be done.
(IIRC you need to set the NetFileDir property to point to the same place
(textually & actually) on each station.) Also I've found on Win98 stations
that the registry key HKLM System CurrentControlSet Services VxD VREDIR
DiscardCacheOnOpen has to be set to 1 and Opportunistic locking turned off
on the server.
|
|
| Back to top |
|
 |
J West Guest
|
Posted: Fri Dec 17, 2004 7:22 pm Post subject: Re: 'directory controlled by other .net file' error |
|
|
You should also use a TSession component when working with multi user
paradox systems.
To clear the error search for *.lck and delete.
You might want to consider MySQL as a decent alternative! It is free and is
very robust.
There are all sorts of bugs in the BDE that I have spent many hours of
discussions with top bods at correll in Ireland about and proving, however
borland were unwiling to correct the problems and were completely unhelpful
about.
Check out www.mysql.com using ADO and the windows gui tools it is very eay
to install and use and will handle multi user databases very very
efficiently.
Regards
James West
"Bruce Roberts" <ber (AT) bounceitattcanada (DOT) xnet> wrote
| Quote: |
"jo" <fitgirl99 (AT) btinternet (DOT) com> wrote in message
news:caq91u$jsn$1 (AT) titan (DOT) btinternet.com...
'directory controlled by other .net file'
file of dir does not exist
file c: pdoxusers.net..
dir c:
file y:....pdoxusers.lck
It is running on win98 workstations with a win2000 server (i think) I am
dealing with the db using the bde SQL and Table components with actual
database names ie 'company.db'
Is this because i havent set an alias?
The BDE is incorrectly configured on the workstations. Somewhere at the
Borland web site there is a document that describes how this should be
done.
(IIRC you need to set the NetFileDir property to point to the same place
(textually & actually) on each station.) Also I've found on Win98 stations
that the registry key HKLM System CurrentControlSet Services VxD VREDIR
DiscardCacheOnOpen has to be set to 1 and Opportunistic locking turned off
on the server.
|
|
|
| Back to top |
|
 |
|