Solved

Cannot Connect to BDE

Posted on 1997-04-09
6
2,228 Views
Last Modified: 2013-11-23
    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?
0
Comment
Question by:Roo
6 Comments
 
LVL 3

Expert Comment

by:sperling
ID: 1335271
Are the BDE directory in your path? Could you post some of the error codes?

Regards,

Erik.
0
 
LVL 1

Expert Comment

by:jmataso
ID: 1335272
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
 

Author Comment

by:Roo
ID: 1335273
 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

Author Comment

by:Roo
ID: 1335274
 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
 
LVL 2

Accepted Solution

by:
javiertb earned 120 total points
ID: 1335275
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
 

Expert Comment

by:Robert Gilland
ID: 1335276
Borland Have a ascii file of their FTP Site which
gives you all the Error Codes and what they signify
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
A company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now