Using SQL Server 2019 Import and Export Data

63345710 1 Reputation point
2021-12-22T19:18:52.56+00:00

Hello,
When opening SQL Server 2019 Import and Export Data (64-bit), I choose a Data Source, it displays Microsoft Access (Microsoft.ECA.OLEDB.16.0) in the drop-down list. I can import Excel file into SQL Server.
159806-sql-server-import-and-export-wizard.jpg
However, I use Microsoft SQL Server Management Studio, choose a database and right-click on it, choose Tasks --> Import Data. When selecting Data Source, there is Microsoft Access (Microsoft.ECA.OLEDB.16.0) in the drop-down list. I want to import data from Excel file into SQL Server, it will display error message "The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. (System.Data)"
159835-sql-server.jpg
How can I change to fix this issue?
Thanks,

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,741 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,571 questions
Transact-SQL
Transact-SQL
A Microsoft extension to the ANSI SQL language that includes procedural programming, local variables, and various support functions.
4,632 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Yitzhak Khabinsky 25,856 Reputation points
    2021-12-22T19:51:03.067+00:00

    Hi @63345710 ,

    Please issue the following statement in SSMS to check what Microsoft ACE providers are installed:

    EXEC master.sys.sp_MSset_oledb_prop;  
    

    In the wizard, you need to select Data source: Microsoft Excel.
    After that Excel version dropdown.
    The available options functionality depends on the installed Microsoft ACE providers.

    159907-screenshot-2021-12-22-234527.png

    159807-microsoft-ace-providers.jpg

    0 comments No comments

  2. ZoeHui-MSFT 36,281 Reputation points
    2021-12-23T02:04:48.397+00:00

    Hi @63345710 ,

    SQL Server Management Studio (SSMS) is 32-bit applications and only install 32-bit files, including the 32-bit version of the wizard.

    The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.

    It seems that you have not install the 32bit provider.

    You may refer this to installing-the-microsoft-ace-oledb-12-0-provider-for-both-64-bit-and-32-bit-processing.

    Regards,

    Zoe


    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.


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.