Solved

Unable to use Access database aliases

Posted on 1998-05-11
3
135 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
[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
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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

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…
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…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

738 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