Download ((free)) Microsoft.ace.oledb.12.0 Provider For Both 64-bit -

What is currently installed on the target machine?

Microsoft does not officially support installing both 32-bit and 64-bit versions of the provider on the same machine. However, you can achieve this using a command-line workaround. Quick Fix: Passive Installation

If you are still seeing the error after installing, your application must match the bit size of the driver.

# Run this in C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe $conn = New-Object System.Data.OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\test.xlsx;Extended Properties='Excel 12.0 Xml;HDR=YES'") $conn.Open() Write-Host "64-bit connection successful" $conn.Close() download microsoft.ace.oledb.12.0 provider for both 64-bit

To download and run the provider for both 64-bit and 32-bit processing simultaneously, you must download the official installer files and bypass Microsoft's default restriction against side-by-side installations.

Need help with a specific error? Leave a comment below (or contact your system administrator with the exact error code).

the version matching your Office bitness normally (e.g., if you have 64-bit Office, install the 64-bit driver first). Open Command Prompt as Administrator. What is currently installed on the target machine

: If you are working with modern platforms like Visual Studio 2022, Microsoft recommends upgrading your connection string to use the fully supported Microsoft Access Database Engine 2016 Redistributable ( Microsoft.ACE.OLEDB.16.0 ).

Disclaimer: Note that support for the 2016 Access Database Engine Redistributable ended on October 14, 2025. The recommended long-term solution is migrating to Microsoft 365 Access Runtime. If you'd like, I can:

The provider is a critical data engine that allows applications to connect to Microsoft Office files, such as Excel spreadsheets ( .xlsx ) and Access databases ( .accdb ). A common headache for developers and system administrators is resolving the infamous error: "The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine." Quick Fix: Passive Installation If you are still

You can find the official installers for both 32-bit and 64-bit versions through the Microsoft Access Database Engine 2010 Redistributable page. : Select AccessDatabaseEngine_X64.exe .

"You cannot install the 64-bit version of Microsoft Access Database Engine because you currently have 32-bit Office products installed."