How to fix SQL Server Management Studio Import and Export Wizard External component has thrown an exception

Duane Bentzen 5 Reputation points
2024-12-16T01:01:09.49+00:00

I have a simple Excel sheet with data I'm attempting to import into SSMS. I select the sheet from a database Tasks -> Import Data, the Import wizard lets me select the sheet, but when I click next I recieve this error:SQL Server Import and Export Wizard The operation could not be completed.

ADDITIONAL INFORMATION:
External component has thrown an exception. (System.Data)

The excel sheet security is set to me, it is in a subfolder and I've checked several versions of the Access runtime. The data upload worked previously. I'm hoping someone can shed some light on this error.

SQL Server Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. LiHongMSFT-4306 31,566 Reputation points
    2024-12-16T02:21:24.72+00:00

    Hi @Duane Bentzen

    Ensure that your Excel file is in a supported format. Try saving the Excel file as an .xls (Excel 97-2003) format if it is currently .xlsx (Excel 2007 or later).

    Besides, check SQL Server logs which might provide more detailed information.

    Best regards,

    Cosmog


    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".


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.