Cannot Connect to BDE

    When in the Delphi IDE, I can open tables and look at the data.  When I try to compile/run these apps however I get the error message "An error occurred while trying to initialize the Borland Database Engine and then an error number (which varies).  Why?
RooAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sperlingCommented:
Are the BDE directory in your path? Could you post some of the error codes?

Regards,

Erik.
0
jmatasoCommented:
I have seen similar problems before.  What DB engine are you using?  A common mistake that I have found causes this is the a given data source (like an MS Access ODBC connection) is marked as Exclusive.  This means that only a single process can access that datasource, if the IDE has it open, nothing else can.

--->John
e-mail: john.matasovsky@bigfoot.com
0
RooAuthor Commented:
 I have received a set of fatal system-type errors including; $2104, $210A-cannot load library, $2501-ERRBASE_LIMIT+ ERRCODE_NOMEMORY, $2A04- where $2A00 is ERRCAT_INVALIDCONTEXT and $2109-ERRBASE_SYSTEM+ERRCODE_CANTLOADIDAPI.
  The database is Paradox and the table in question is not  marked for exclusive use.  In fact, I have closed the table in design-mode and tried to open it at run-time, with the same result.  Therefore, the exclusive table access would not apply in this case.
0
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

RooAuthor Commented:
 Oh yeah, the BDE is accessible to all other programs that use it (Win95 registry settings are OK).  Even previously written Delphi apps can access the BDE successfully.
0
javiertbCommented:
The errors you reported mean the following:

$2104 Cannot find Engine configuration file.
$210A Cannot load an IDAPI service library.
$2501 Insufficient memory for this operation.
$2A04 Operation not applicable.
$2109 Cannot load IDAPI01.DLL.


0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Robert GillandCommented:
Borland Have a ascii file of their FTP Site which
gives you all the Error Codes and what they signify
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Delphi

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.