How to Fix ODBC Microsoft Access Driver Login Failed in Word Mail Merge
Question details
The user encounters an ODBC Microsoft Access Driver Login Failed error and an unexpected administrator password prompt when attempting a Word directory mail merge connected to an Access database.
- Product
- Microsoft Word
- Device & OS
- not provided
- Scenario
- Performing a Word directory mail merge using a Microsoft Access database as the data source.
- Observed behavior
- The mail merge fails to connect, returning an ODBC driver login error and requesting an unknown administrator password, typically because the file path points to a folder or the database is stored in an unsupported cloud location.
Ensure that your Microsoft Access database file is completely closed before initiating the mail merge in Word, and verify that you have the exact local file path of the database ready.
Move the Access Database from OneDrive to a Local Drive
Active Access databases do not function correctly when hosted and shared directly from OneDrive. Moving the file locally resolves path and synchronization issues.
Cloud storage services like OneDrive are excellent for file backups, but they are not designed to host active database connections. When a Word mail merge attempts to connect to an Access database located in OneDrive, it often fails to resolve the proper file path, leading to ODBC driver errors and false password prompts.
Ensure both Microsoft Word and Microsoft Access are completely closed before attempting to move the database file.
Open File Explorer and navigate to your OneDrive folder to find the .accdb or .mdb database file used for the mail merge.
Copy the database file and paste it into a local folder on your computer's hard drive (e.g., C:\Documents) or a local LAN share.
Reopen your Word document, go to the 'Mailings' tab, click 'Select Recipients', and choose 'Use an Existing List' to browse and connect to the new local file path.
Verify the Exact Database File Name and Path
The error may occur if the Word data source connection points to the folder containing the database instead of the specific database file itself.
Try WPS Office for Seamless and Lightweight Document Management
While Microsoft Access databases can cause complex ODBC driver issues during Word mail merges, switching to WPS Office allows you to handle mail merges effortlessly using simple Excel spreadsheets or CSV files. WPS Office is a free, highly compatible alternative to Microsoft Office that is easy to use and completely lightweight.
- 1. Download and Install: Get WPS Office for free from the official website and install it on your computer.
- 2. Open Your Document: Launch WPS Writer and open your existing Word document without losing any formatting.
- 3. Use Spreadsheets for Merge: Connect your document to a WPS Spreadsheet file for a flawless and error-free mail merge experience.

Frequently Asked Questions
Why does Word ask for an administrator password during mail merge?
This usually happens when the ODBC driver cannot locate the exact Access database file or it attempts to connect to a folder instead of the database file, which triggers a default security prompt even if no password is set.
Can I host my Access database on OneDrive for a Word mail merge?
No. OneDrive is designed for file synchronization and is not suitable for hosting active Microsoft Access databases. You should use OneDrive only for backups, while keeping the active database on a local drive or LAN share.
What formats does the Access database use for mail merge?
Word mail merge typically connects to standard Microsoft Access database files, which use the .accdb (newer) or .mdb (older) file extensions.
How do I change the data source for an existing Word mail merge?
Open your Word document, go to the 'Mailings' tab, click 'Select Recipients', choose 'Use an Existing List', and then browse to select the correct local path of your database file.




