Board index » delphi » An error occurred while attempting to initialize the Borland Database Engine (error $2109)

An error occurred while attempting to initialize the Borland Database Engine (error $2109)

I have an application that has been running successfully on a network
workstation that has a datamodule with database objects, query objects,
etc., with MS SQL Server (also using cached updates).  There is another
Delphi application running on this machine written by a contract programmer
that previously did not access any data, but now has been upgraded to access
several Paradox, DBase, and Access tables (don't ask why all of these!).
The developer says he is only using table objects on forms with no database
object, just hard coded paths to the file locations of the tables.

Now my program gets the following error on startup:

    An error occurred while attempting to initialize the Borland Database
Engine (error $2109)

Upon loading.  If I load my program first and then that one, then the error
is the same but the code is $210D instead.  My program sets the
Session.PrivateDir to a unique directory.  I tried setting SHAREDMEMLOCATION
and SHAREDMEMSIZE settings on the advice of someone else with no luck.

Could someone please advise me about what I may need to do to either
application for them to work together.

Thanks!

 

Re:An error occurred while attempting to initialize the Borland Database Engine (error $2109)


Quote
>Upon loading.  If I load my program first and then that one, then the error
>is the same but the code is $210D instead.  My program sets the
>Session.PrivateDir to a unique directory.  I tried setting SHAREDMEMLOCATION
>and SHAREDMEMSIZE settings on the advice of someone else with no luck.

My hunch is that there is a bad BDE installation with some BDE dlls in
directories they should not be in and slightly different versions.  I would hunt
down and kill all BDE files not in the BDE installation directory.  Then do a
new BDE install

--
Brian Bushay (TeamB)
Bbus...@NMPLS.com

Other Threads