?
Solved

References - Microsoft ActiveX Data Objects 2.5 Library - Error in Loading DLL

Posted on 2006-07-10
7
Medium Priority
?
550 Views
Last Modified: 2012-06-27
As a result of the error message "Error in Loading DLL" when importing tables to my Access 2003 SP2 database project, I'm trying to ensure that all reference libraries are selected as detailed in http://support.microsoft.com/kb/825796/en-us - References that you must set when you use Microsoft Office Access 2003.

So I have opened a form, clicked the Code icon, then Tools, References.

However, when I try to select Microsoft ActiveX Data Objects 2.5 Library I get the error message "Error in Loading DLL".

The related reference file is definitely there - C:\Program Files\Common Files\System\ado\msado25.tlb

At first, with the help of 'Help, I thought it might be because it is a .tlb not a .dll - but the OLE Automation Library is a .tlb too and that's been added to the references without any problems.

Any ideas?
0
Comment
Question by:Ludique
  • 5
  • 2
7 Comments
 
LVL 11

Accepted Solution

by:
pootle_flump earned 1500 total points
ID: 17077073
Not really though 2.5 is quite low especially given you are using 2003. Also - ADO is typically referenced by default.

Do you have more recent versions available? Can you try selecting them? Have you applied MDAC?
0
 

Author Comment

by:Ludique
ID: 17077155
Thanks for responding pootle_flump - great name!

Visual Basic for Applications
MSAccess 11.0 Object
OLE Automation
DAO 3.6 Object
are referenced by default.

I've added
MS SDO Extensions 2.5 for DDL and Security
MS Jet and Replication Objects 2.5
MS Office 11.0

But can't add the ActiveX one without getting the message.

In the dialog for selecting references I also have up to ActiveX 2.8 available

I haven't applied MDAC as I don't know what it is or how to.


0
 

Author Comment

by:Ludique
ID: 17077236
I've also just noticed Microsoft ActiveX Data Objects Records 2.5 Library - is that needed too?
0
Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

 

Author Comment

by:Ludique
ID: 17077367
An offline friend has suggested downloading and installing msado 2.5 runtime from microsoft.
0
 

Author Comment

by:Ludique
ID: 17077541
But I can't find it on its own.
Tried downloading and installing MDAC but it said it was already installed.
Still stuck.
0
 

Author Comment

by:Ludique
ID: 17077660
I have been able to load ActiveX 2.8
0
 
LVL 11

Expert Comment

by:pootle_flump
ID: 17079495
Good stuff.

Sorry you were on your own - I logged off after posting :-)
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes has been used since a very long time as an e-mail client and is very popular because of it's unmatched security. In this article we are going to learn about  RRV Bucket corruption and understand various methods to Fix "RRV Bucket Corrupt…
Creating a Cordova application which allow user to save to/load from his Dropbox account the application database.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

839 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