How to Fix Microsoft.ACE.OLEDB.12.0 Provider Not Registered on Windows 11
Question details
The user needs to resolve an OLE DB provider registration error after installing the 64-bit Access Database Engine on Windows 11.
- Product
- Visual Studio / Access Database Engine
- Device & OS
- Windows 11
- Scenario
- Attempting to run or compile an application that connects to an Access database using the ACE OLE DB provider.
- Observed behavior
- The application throws a 'provider not registered' error due to a bitness mismatch between the application target platform and the installed database engine.
Verify whether your Visual Studio project is currently configured to build as a 32-bit (x86) or 64-bit (x64) application.
Match Application Bitness in Visual Studio Configuration Manager
Adjust your application's target platform in Visual Studio to match the installed 32-bit or 64-bit Access Database Engine.
The Microsoft.ACE.OLEDB.12.0 provider error typically occurs when a 32-bit application tries to use a 64-bit database engine, or vice versa. Matching the architectures resolves the issue.
In Visual Studio, navigate to the top menu, click on 'Build', and select 'Configuration Manager'.
Locate the 'Active solution platform' dropdown. Select or create an 'x86' configuration if you are using the 32-bit ACE provider, or 'x64' if you have the 64-bit version installed.
Close the Configuration Manager and rebuild your project to apply the new architecture settings.
Reinstall the Matching Access Database Engine
If your application's architecture cannot be changed, install the version of the Access Database Engine that matches it.
Manage Data Easily with WPS Office
While resolving complex OLE DB driver issues requires technical configurations in Visual Studio, managing your actual data shouldn't be hard. WPS Office is a highly compatible, lightweight, and free alternative to Microsoft Office that makes handling spreadsheets and exported database tables a breeze.
- 1. Download WPS Office: Visit the official WPS website and download the free installation package.
- 2. Install the Software: Run the downloaded installer and follow the simple, one-click installation process.
- 3. Manage Your Data: Launch WPS Spreadsheets to seamlessly open, edit, and analyze your database exports and spreadsheets.

Frequently Asked Questions
Why does the Microsoft.ACE.OLEDB.12.0 error occur on Windows 11?
This error happens when there is an architecture mismatch. For example, your application might be compiled as a 32-bit (x86) process, but you have the 64-bit (x64) version of the Access Database Engine installed.
Can I fix the provider not registered error by manually registering ACEOLEDB.DLL?
No. You should not use regsvr32 to register the ACEOLEDB.DLL manually. The official Access Database Engine installer is designed to handle all necessary registry entries securely and correctly.
How do I check my application's bitness in Visual Studio?
Open your project in Visual Studio, click on 'Build' in the top menu, and select 'Configuration Manager'. Look at the 'Platform' column for your project to see if it is set to x86 (32-bit), x64 (64-bit), or Any CPU.
Can I install both 32-bit and 64-bit Access Database Engines simultaneously?
Officially, Microsoft does not recommend installing both architectures side-by-side as it can cause conflicts with Microsoft Office. It requires a command-line workaround using the '/quiet' switch during installation.




