BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

'directory controlled by other .net file' error

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases
View previous topic :: View next topic  
Author Message
jo
Guest





PostPosted: Wed Jun 16, 2004 8:03 pm    Post subject: 'directory controlled by other .net file' error Reply with quote



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





PostPosted: Wed Jun 16, 2004 8:41 pm    Post subject: Re: 'directory controlled by other .net file' error Reply with quote




"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





PostPosted: Fri Dec 17, 2004 7:22 pm    Post subject: Re: 'directory controlled by other .net file' error Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.