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

后端 未结 8 1215
天命终不由人
天命终不由人 2020-12-23 09:09

I get this error when I try to connect to any excel through MSSQL Server Data Import i.e. SSIS package The Microsoft.ACE.OLEDB.16.0 provider is not registered o

相关标签:
8条回答
  • 2020-12-23 09:10

    You have to use now the new XLSX-Driver from Access-Redist (32/64-Bit). The current XLS-Driver are corrupted since last cumulative update.

    0 讨论(0)
  • 2020-12-23 09:22

    ACE.oledb.16.0 dosen't work in the 64-bit os

    download patch from https://www.microsoft.com/en-us/download/details.aspx?id=13255

    0 讨论(0)
  • 2020-12-23 09:31

    Note: I am running SQL 2016 Developer 64bit, Office 2016 64bit.

    I had the same issue and solved it by downloading the following:

    1. Download and install this: https://www.microsoft.com/en-us/download/details.aspx?id=54920

    2. Whatever file you are trying to access/import, make sure you select it as a Office 2010 file (even though it might be a Office 2016 file).

    It works.

    Source

    0 讨论(0)
  • 2020-12-23 09:32

    For anyone that is still stuck on this issue after trying the above. If you are right-clicking on the database and going to tasks->import, then here is the issue. Go to your start menu and under sql server, find the x64 bit import export wizard and try that. Worked like a charm for me, but it took me FAR too long to find it Microsoft!

    0 讨论(0)
  • 2020-12-23 09:34

    As a quick workaround I just saved the workbook as an Excel 97-2003 .xls file. I was able to import with that format with no error.

    0 讨论(0)
  • 2020-12-23 09:34

    If you have OS(64bit) and SSMS(64bit) and already install the AccessDatabaseEngine(64bit) and you still received an error, try this following solutions:

    1: direct opening the sql server import and export wizard.

    if you able to connect using direct sql server import and export wizard, then importing from SSMS is the issue, it's like activating 32bit if you import data from SSMS.

    Instead of installing AccessDatabaseEngine(64bit) , try to use the AccessDatabaseEngine(32bit) , upon installation, windows will stop you for continuing the installation if you already have another app installed , if so , then use the following steps. This is from the MICROSOFT. The Quiet Installation.

    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 desired AccessDatabaseEngine.exe or AccessDatabaeEngine_x64.exe to your PC, open an administrative command prompt, and provide the installation path and switch Ex: C:\Files\AccessDatabaseEngine.exe /quiet

    or check in the Addition Information content from the link below,

    https://www.microsoft.com/en-us/download/details.aspx?id=54920

    0 讨论(0)
提交回复
热议问题