?
Solved

Exception EDatabaseError

Posted on 2002-07-08
4
Medium Priority
?
5,025 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 800 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
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…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month14 days, 14 hours left to enroll

770 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