Solved

Cannot Connect to BDE

Posted on 1997-04-09
6
2,297 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

696 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