Solved

Unable to use Access database aliases

Posted on 1998-05-11
3
128 Views
Last Modified: 2010-08-05
I installed the C++ Builder Professional edition on my machine alongside my Delphi 3.01 Client/Server. This was not a good idea, as it screwed up my Interbase configuration.

I have therefore re-installed Delphi 3 C/S, and my Interbase setup is now OK. Unfortunately, I am now no longer able to use my Access database alias.
I define the alias using the driver type MSACCESS, but when I try to open the database connection, I get the following error message:

"Cannot load an IDAPI Service library"

I am using Windows NT 4.0 (option pack 3), and I have Access 97, DAO 3.0 and DAO 3.5 installed.

What do I do to get around this problem?

Thanks in advance for any input,

AndersWP
0
Comment
Question by:AndersWP
  • 2
3 Comments
 
LVL 5

Expert Comment

by:JimBob091197
ID: 1344209
Hi

You may need to reinstall the latest version of the BDE, available from Borland's (Inprise) web site, or I can e-mail it to you.  This should get Access 97 aliases working again.

If you'd like to me to mail it to you, e-mail me at davekw@iafrica.com.

Cheers,
JB
0
 
LVL 1

Author Comment

by:AndersWP
ID: 1344210
Thanks, that did the trick. It turned out the by default BDE used DAO 3.0, which for some reason did not work. The updated BDE allowed my to change that to DAO 3.5, which does work.

I believe I should credit you for solving this, but I can not do that as your contribution was a comment rather than a solution. If you change it to a solution, I will mark is as accepted.

Yours,
AndersWP
0
 
LVL 5

Accepted Solution

by:
JimBob091197 earned 100 total points
ID: 1344211
Hi Anders,
Glad your problem is solved.

Cheers,
JB
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…
This video discusses moving either the default database or any database to a new volume.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

743 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

9 Experts available now in Live!

Get 1:1 Help Now