Solved

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

Posted on 2006-07-10
7
489 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
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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MSSQL Convert Char To Date 4 60
Display multiple images in report 12 118
Querying data from 3 SQL tables 2 32
ServiceCenter IR Query Expressions 1 23
In today’s complex data management environments, it is not unusual for UNIX servers to be dedicated to a particular department, purpose, or database.  As a result, a SAS® data analyst often works with multiple servers, each with its own data storage…
Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
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…

777 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