Board index » delphi » Bde .net errors and simaliar when multiple applications try to access shared paradox files on a server

Bde .net errors and simaliar when multiple applications try to access shared paradox files on a server


2003-09-01 05:16:47 PM
delphi141
Hi,
I'll give you a brief description of what I have written. I have a Delphi 6
app that is a toolbar and is resident on each workstations pc. Each button
on the tool bar will run a different Delphi 6 program. Each of these
programs need to access the same paradox databases on a server. Each PC has
the netdir set to point to the same place on the server PC using UNC naming
so they are all using the one .net file.
The problem I am having is if a workstation has one of the applications open
it creates the .lck files in that folder if another workstation runs a
program but needs to access a paradox file in the same folder an error is
thrown up "directory is controlled by another .net file"
Is there a way to make multiple Delphi 6 programs share the same data tables
on a server without these errors occurring.
Also one final question about the SHAREDMEMLOCATION setting. Is there a way
to find out what the correct setting should be for each windows version as
my applications are being run on 98/ME/NT/2000/XP and some people are
experiencing problems when running the applications with errors like could
not initialize the Borland database engine.
Can anyone help please
Thanks
Lee
 
 

Re:Bde .net errors and simaliar when multiple applications try to access shared paradox files on a server

Quote
thrown up "directory is controlled by another .net file"
That error occurs when one or more PC's are not using the same NetDir
path. Get everyone out of the program, delete the .LCK files and try
again. If you still get the error one or more PC's has a different
NetDir.
Quote
Also one final question about the SHAREDMEMLOCATION setting. Is there a way
to find out what the correct setting should be for each windows version as
my applications are being run on 98/ME/NT/2000/XP and some people are
experiencing problems when running the applications with errors like could
not initialize the Borland database engine.
The BDE Administrator on-line help contains suggestions for the
SharedMemLocation.