I have developed windows form .exe setup and I have installed it.
I have used MS office 2016 and Microsoft Access Database Engine 2016 Redistributable. But it still says microsoft oledb 12.0 is not registered/found.
What shall I do?
I have developed windows form .exe setup and I have installed it.
I have used MS office 2016 and Microsoft Access Database Engine 2016 Redistributable. But it still says microsoft oledb 12.0 is not registered/found.
What shall I do?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Tuhin PaulPosted Feb 15, 2023, 1:43 AM
As you were saying that you have installed Microsoft Access Database Engine 2016 Redistributable, then the Microsoft OLE DB Provider for Microsoft Access should have been installed as well, since it is included in the redistributable package as far as I can remember.
However, if you are still receiving an error that the Microsoft OLE DB Provider is not registered or found, you may need to manually register the provider so follow the steps below:
1. Open the command prompt as an administrator.
2. Navigate to the folder that contains the "ACEOLEDB.DLL" file. This file is typically located in the "Program Files\Common Files\Microsoft Shared\OFFICE16" folder.
3. Register the provider by typing the following command:
regsvr32 ACEOLEDB.DLL
Note: If you are running a 32-bit application on a 64-bit operating system, you will need to use the 32-bit version of regsvr32, located in the "SysWOW64" folder. In that case, the command would be:
C:\Windows\SysWOW64\regsvr32.exe "C:\Program Files (x86)\Common Files\Microsoft Shared\OFFICE16\ACEOLEDB.DLL"
4. Once the provider has been successfully registered, try running your application again.
If you continue to experience issues, you may need to reinstall Microsoft Access Database Engine 2016 Redistributable or repair your installation of Microsoft Office 2016. Try once these steps and let me know if that works for you.
Naimish MakwanaPosted Feb 15, 2023, 6:03 AM
Hello NURU,
Please refer below link:
https://stackoverflow.com/a/6649413/3054222
https://stackoverflow.com/questions/6649363/microsoft-ace-oledb-12-0-provider-is-not-registered-on-the-local-machine
Thanks
Naimish