Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SSIS Error : [SSIS.Pipeline] Error: "component "Excel Source" (14)" failed validation and returned validation status "VS_NEEDSNEWMETADATA"

Tags:

ssis

ssi

I've gone through this URL:

How to loop through Excel files and load them into a database using SSIS package

And I followed the same steps mentioned there but I got this warning:

[Excel Source [14]] Warning: The external columns for component 
"Excel Source" (14) are out of synchronization with the data source 
columns. The column "state" needs to be added to the external columns.
The external column "state " (27) needs to be removed from the external 
columns.

and this error:

[SSIS.Pipeline] Error: "component "Excel Source" (14)" failed validation 
and returned    validation status "VS_NEEDSNEWMETADATA".
like image 726
Rasika Ogale Avatar asked Feb 17 '23 21:02

Rasika Ogale


2 Answers

I have found with this error, it is sometimes fixed by simply double clicking on each of the components, viewing the columns and various transformations, then pressing OK. I then save and re-run and it works. Make sure no red x's are lingering around or any other warnings.

like image 68
ichauvin Avatar answered Feb 19 '23 11:02

ichauvin


The reason for this error is change in metadata, in my case a column name was renamed in Excel source. Verify the Excel column names and respective mapping.

like image 44
sachin sapkal Avatar answered Feb 19 '23 10:02

sachin sapkal