Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The 'Microsoft.ACE.OLEDB.16.0' provider is not registered on the local machine. (System.Data)

I have Windows 10 pro x64, Excel 2016 32 bit and Sql server 2017. I want to import excel file to sql server, I need to use 32-bit wizard because Microsoft Excel is not shown in 64-bit version, but I face this error: The 'Microsoft.ACE.OLEDB.16.0' provider is not registered on the local machine. (System.Data)

like image 314
stella Avatar asked Mar 14 '18 11:03

stella


People also ask

How do I check my Microsoft ACE Oledb version?

Right-click on the file, nzoledb. dll, and select Properties. The version number is displayed either in the Product Version field on the Details tab or under the Version tab, depending on your OS.


2 Answers

If you are having problems installing the engine because components are already installed, do this (from Microsoft):

If Office 365 is already installed, side by side detection will prevent the installation from proceeding. Instead perform a /quiet install of these components from command line. To do so, download the AccessDatabaeEngine_x64.exe to your PC, open an administrative command prompt, and provide the installation path and switch Ex: C:\Files\AccessDatabaseEngine_x64.exe /quiet

like image 109
CesarL Avatar answered Nov 03 '22 00:11

CesarL


I had success doing the following (I use Excel 2016 and SSMS 2017) From Excel File -> Export -> Change File Type -> Excel 97- 2003 (*.xls)

like image 45
Karen Young Avatar answered Nov 02 '22 23:11

Karen Young



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!