Solved

Exception EDatabaseError

Posted on 2002-07-08
4
4,745 Views
Last Modified: 2012-08-13
I am running Windows 2000, and I have Delphi 1, 2, 3 and 5 installed on this
one PC.

It has been a few months since I've used Delphi 1, but now when I launch
Delphi 1, I get the following message :

                           Application Error
                      Exception EDatabaseError in
                    module COMPLIB.DCL at 000A:1246
An error occurred while attempting to initialize Borland Database Engine
(error $2108)

Which is followed by :

                      Cannot open component library
                 C:\PROGRAMS\BORLAND\DELPHI\BIN\COMPLIB.DCL

Which means hat no components appear in the component palette when Delphi finishes coming up.

The other versions of Delphi run just fine.

What may have gone wrong with Delphi 1?  I copied a backup of my COMPLIB.DCL from a backup PC to my primary PC, but that does not solve the problem.  I know there isn't anything wrong with the component library, therefore.

When I launch the Delphi 1 BDE Config utility, I get the error "System configuration file not found".

When I launch Delphi 1's Database Desktop, I get "Private directory is invalid or undefined.  Using tempoary directory instead."  then followed by this error "Could not initialize IDAPI"
0
Comment
Question by:Kapusta
  • 2
4 Comments
 
LVL 14

Expert Comment

by:DragonSlayer
ID: 7139412
I think it's because of conflicting BDE versions. Delphi 1 uses a 16-bit BDE.
0
 

Author Comment

by:Kapusta
ID: 7139537
>> I think it's because of conflicting BDE versions.
>> Delphi 1 uses a 16-bit BDE.

I don't think this is the problem.  I have been running Delphi 1 and Delphi 2 together for approx 5 years.  I have been running Delphi 1 and Delphi 3 together for approx 4 years.
0
 
LVL 7

Accepted Solution

by:
Cynna earned 200 total points
ID: 7140426
Kapusta,

Error $2108 means: "Cannot locate IDAPI01.DLL"

So, you should lookup in a registry for DllPath - this should point to the path where this file resides and check if it exists.

Also, check out this comp.lang.pascal.delphi.databases post, it deals with your problem:

http://groups.google.com/groups?hl=hr&lr=&ie=UTF-8&oe=UTF-8&newwindow=1&th=c1ba33eb512ab549&rnum=1

0
 

Author Comment

by:Kapusta
ID: 7141333
The WIN.INI file had been destroyed by some misbehaving program.
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

Suggested Solutions

Title # Comments Views Activity
Delphi TcxGrid group footer summary 3 206
Path  to current project in Delphi. 2 71
Magic Software info 18 125
Convert GUI app into console app for Win32 Env 5 78
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…
The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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 short film showing how OnPage and Connectwise integration works.

919 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

19 Experts available now in Live!

Get 1:1 Help Now