admin管理员组

文章数量:1123185

I have an SSIS package which reads the Excel file from a folder and then loads the data into the tables.

The issue is that using a Script Task, I extract the sheet/tab name from the Excel file and store it in a variable. Then, in the next component, I have a data flow task that has an Excel source component which reads the sheet from this variable and then loads it into the table.

The thing is that the package successfully runs inside Visual Studio, but when I deploy the package on SSIDB on SQL Server, I get an error in the Excel source component

Bulk Load File.Error: A destination table name has not been provided

and this error occurs during the pre-execute phase.

Note: I have already set DelayValidation to True for each component along with the connection manager, additionally, set a static file name in the variable so the pre-execute validation gets passed but after setting a static sheet name I get that 'Sheet1$' does not exist in the database and issue persists on SQL Server in every workaround.

enter image description here

本文标签: Excel Source Component of SSIS fails in SQL Server databaseStack Overflow