Solved

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

Posted on 2006-07-10
7
515 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
[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
  • 5
  • 2
7 Comments
 
LVL 11

Accepted Solution

by:
pootle_flump earned 500 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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone 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

This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
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…

695 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