logo
search
Office Compatibility Issues

How to Fix Microsoft DAO 3.6 Object Library Error in Access

Maira MehtabMaira Mehtab Sep 22, 2026 870 views

Question details

The user is experiencing a DLL loading failure related to the Microsoft DAO 3.6 Object Library when working with a Microsoft Access database.

Product
Microsoft Access
Device & OS
not provided
Scenario
Opening an ACCDB database or running VBA code that incorrectly references the outdated DAO 3.6 object library.
Observed behavior
Microsoft Access triggers a 'Cannot Load DLL' compatibility error because the DAO 3.6 library is incompatible with newer ACCDB file formats.
Before you start

Determine whether your Microsoft Access database is saved in the older .mdb format or the newer .accdb format, as this dictates which object library reference you need to select in the VBA Editor.

Solution 1Recommended

Update VBA References for ACCDB Databases

Resolve the error in modern Access databases by replacing the outdated DAO 3.6 reference with the correct Access database engine Object Library.

The DAO 3.6 Object Library is specifically designed for older .mdb database formats. Using it with a newer .accdb file causes DLL loading failures because the underlying database architectures do not match.

1
Open the VBA Editor

Open your .accdb database in Microsoft Access, then press ALT + F11 on your keyboard to launch the Visual Basic for Applications (VBA) Editor.

2
Access the References Menu

From the top menu bar of the VBA Editor, click on 'Tools' and then select 'References' from the drop-down list.

3
Remove the Outdated Reference

Scroll through the Available References list to find 'Microsoft DAO 3.6 Object Library'. If it says 'MISSING' or is currently checked, uncheck the box next to it.

4
Select the New Object Library

Locate and check the box for 'Microsoft Office 16.0 Access database engine Object Library' (the exact version number may vary depending on your Office installation). Click 'OK' to save your changes.

Reference Updated: Your database code should now compile and run properly without triggering the DLL loading error.
Free Microsoft Office alternative

Looking for a Free, Lightweight Office Suite?

While Microsoft Access is required for specific database management tasks like fixing DAO 3.6 errors, WPS Office provides a powerful, free alternative for your everyday document, spreadsheet, and presentation needs. Experience seamless compatibility with Word, Excel, and PowerPoint files without the heavy subscription fees.

  1. 1. Visit the Official Site: Go to the official WPS Office website to access the secure download page.
  2. 2. Download the Installer: Click the 'Download WPS Office Free' button and run the setup file on your computer.
  3. 3. Start Creating: Open WPS Office to effortlessly view, edit, and manage your documents, spreadsheets, and presentations.
100% free and lightweight alternative to Microsoft OfficeFully compatible with Microsoft Word, Excel, and PowerPoint formatsFamiliar, tabbed user interface for easy migrationBuilt-in PDF editing and conversion tools
microsoft office alternative - wps office

Frequently Asked Questions

What is the Microsoft DAO 3.6 Object Library?

The Microsoft DAO 3.6 Object Library is a component used in VBA to interact with older Microsoft Access databases, specifically those saved in the legacy .mdb file format.

Why do I get a DLL error when using DAO 3.6 in an ACCDB file?

The newer .accdb database format utilizes a different database engine (ACE instead of JET). Attempting to load the older DAO 3.6 library in a modern ACCDB file causes a compatibility mismatch, leading to the 'Cannot Load DLL' error.

How do I find the VBA References menu in Microsoft Access?

To access the References menu, open your Access database, press ALT + F11 to open the VBA Editor, and click on 'Tools' in the top menu bar, followed by 'References'.

What if the Microsoft Office 16.0 Access database engine Object Library is missing?

If the 16.0 version is not listed in your References menu, look for a similar entry with a different version number, such as 12.0, 14.0, or 15.0. The version available depends on the specific release of Microsoft Office installed on your computer.