Broken Reference to the file dao2535.tlb error message on opening Access Data Base created in Access 97

I have been using an Access Database originally created with Access 97 on a laptop which has upgraded to Access 2002.  I am now attempting to open the same Access Database on a computer which is running Windows 2003 and Microsoft Access 2003 and I am getting the following error message: "Your Microsoft Access database or project contains a missing or broken reference to the file 'dao2535.tlb' version 3.5."

The database contains historical data going back to 1991 and various reports which would require a significant effort to recreate and at the very least I need to export the tables to recreate the database.  My laptop has gone down and I am in a critical time cruch to produce reports from the database and need to resolve my problem ASAP.  Your prompt response would be greatly appreciated.

Grant Keener
gkeener3Asked:
Who is Participating?
 
Jim HornConnect With a Mentor Microsoft SQL Server Developer, Architect, and AuthorCommented:
>Is the dao2535.tlb a unique file created by the Access Database
No, it is a Microsoft-created object library that was the primary means of data access in all Access versions up to 2000-ish.

Last I remember there were some versions of Windows, XP and higher, (Office XP and higher?) that did not automatically have DAO installed.
This was along the thinking that M$ was going to discontinue DAO, but has yet to actually do so.

Copy the file from any machine you can find it on and paste it into the new machine.  Until proven otherwise, that should resolve your issue without any coding.
0
 
Jim HornMicrosoft SQL Server Developer, Architect, and AuthorCommented:
>I am now attempting to open the same Access Database on a computer which is running Windows 2003 and Microsoft Access 2003
This computer does not have 'Microsoft DAO 2.5/3.5 Compatibility Library' installed on it, which your app apprently references, therefore requires in order for it to run.

Go find it off your laptop, then paste it into this new pc.  Then re-open the Access app.
On my pc this is at c:\Program Files\Common Files\Microsoft Shared\DAO\DAO2535.tlb
0
 
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)Commented:
Ditto for that location on my PC's.

mx
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
clarkscottCommented:
or select a later version from the Reference List.  You probably have one and it will probably work.

Scott C
0
 
gkeener3Author Commented:
I don't have access to my laptop to copy the file and the VB editor does not give me access to the Tool:Reference tool bar and I have no experience editing the VB coding.  Is the dao2535.tlb a unique file created by the Access Database or is it a generate file which I can down load and install on my new computer?
0
 
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)Commented:
It's an Office file that is standard in any Office installation.

mx
0
 
gkeener3Author Commented:
Is this a file that I can down load and install on my new computer?
0
 
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)Connect With a Mentor Commented:
0
 
clarkscottConnect With a Mentor Commented:
There's a few newer versions.
From the database window, click MODULES.
If there are any on the list, click and open in design mode, otherwise create a new one.
At the top of the code screen, click on Access' TOOLS and select REFERENCES.
You will see one (dao) that is MISSING (it will say this in the description).
Uncheck the box to the right.
Scroll down the list and locate another DAO version (3.51, etc.) and click the box on the right.
Close Access

PS.  You don't have to save the module if you created a new one.

That's all there is to it.

Scott C
0
 
gkeener3Author Commented:
I downloaded the file dao2535.tlb and copied it into my directory  C:\Program Files\Common Files\Microsoft Shared\DAO.  When I open the Database I am still getting the same error message. Am I doing something wrong or do I need to do something else?
0
 
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)Commented:
Open the vba editor.
Tools>>References.
If you see 'Missing' for this file, uncheck it.
Then, Browse to the Program Files location and select the file you downloaded.
Close the window .
Then ... Debug>>Compile.
If this works, you should be ok.

mx
0
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Connect With a Mentor Infotrakker SoftwareCommented:
You could also most likely upsize this to 2000 or greater with no issues. Of course, if you do this you wouldn't be able to work with that copy in Access 97 any longer ...
0
 
Computer101Commented:
Forced accept.

Computer101
EE Admin
0
All Courses

From novice to tech pro — start learning today.