Solved

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

Posted on 2006-07-10
7
484 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 500 total points
Comment Utility
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
Comment Utility
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
Comment Utility
I've also just noticed Microsoft ActiveX Data Objects Records 2.5 Library - is that needed too?
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

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

Author Comment

by:Ludique
Comment Utility
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
Comment Utility
I have been able to load ActiveX 2.8
0
 
LVL 11

Expert Comment

by:pootle_flump
Comment Utility
Good stuff.

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

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Suggested Solutions

Creating and Managing Databases with phpMyAdmin in cPanel.
Read about achieving the basic levels of HRIS security in the workplace.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

762 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

10 Experts available now in Live!

Get 1:1 Help Now