We help IT Professionals succeed at work.

Cannot Connect to BDE

Roo
Roo asked
on
Medium Priority
2,889 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?
Comment
Watch Question

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

Regards,

Erik.

Commented:
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
Roo

Author

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.
Roo

Author

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.
Commented:
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.


Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Borland Have a ascii file of their FTP Site which
gives you all the Error Codes and what they signify
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.