Solved

Exception EDatabaseError

Posted on 2002-07-08
4
4,926 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
[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
  • 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

Independent Software Vendors: 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!

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…
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…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

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