Unable to import only Xlsx Extension Excel files to SQL Server 2019.

Anonymous
2022-07-17T18:08:38.9+00:00

Hi All,

I am unable to import the only XLSX excel extension to SQL Server PFA error.
I am in need of the quick and a permanent solution for this. Could you/some one please help me out to have a solution or at least a workaround to this. one of my collegue is using the 2019 version of SQL I was using the 2016 hence I have reinstalled the 2019 Version as well but it does seems to work still. The issue is only with XLSX files.

Thanks & Best Regards
Dinesh
221592-error-while-importing-the-xlsx-format-file-from-lo.png

Azure SQL Database
Microsoft 365 and Office | Excel | For business | Windows
SQL Server | Other
{count} votes

3 answers

Sort by: Most helpful
  1. Erland Sommarskog 121.8K Reputation points MVP Volunteer Moderator
    2022-07-17T18:34:20.127+00:00

    The error message is pretty clear. OK, it is in Polish, and your name does not seem Polish, but nevertheless...

    You need to install the ACE OLE DB provider. The error message suggests that you need version 12.0, but I believe there is a 16.0 provider.

    0 comments No comments

  2. Alberto Morillo 34,671 Reputation points MVP Volunteer Moderator
    2022-07-17T23:12:41.837+00:00

    Please download and install this redistributable and that should solve the issue. That should solve that error when using Excel documents as data source on SQL Server Management Studio Import/Export Wizard or when importing Excel files using SQL Server Integration Services (SSIS).

    0 comments No comments

  3. Seeya Xi-MSFT 16,586 Reputation points
    2022-07-18T07:15:50.543+00:00

    Hi @Anonymous ,

    Welcome to Microsoft Q&A!
    This happens may because of the choice of the wrong version (32-bit or 64-bit) of the SQL Server Import and Export Wizard. For example, if exporting data from the 64-bit version of SQL Server and using the SQL Server Import and Export Wizard via SSMS which is 32-bit application and include 32-bit version of the SQL Server Import and Export Wizard and, because of that, the above warning message will appear. To resolve this, launch 64-bit version of the SQL Server Import and Export Wizard.
    For more information, please refer to this article: https://www.sqlshack.com/importexport-data-sql-server-using-sql-server-import-export-wizard/

    Best regards,
    Seeya


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.