issue with the excel with multiple sheets
That will only work if all sheets have the exact same columns. I guess this is not the case. If your metadata is dynamic, you need to create a dataflow for each Excel sheet.MCTS, MCITP - Please mark posts as answered where appropriate.
May 2nd, 2012 11:35am

yeah i am sure both the names are same i recreated the file and copied the same name from the first sheet. Am i missing anything else? -Eshwar
Free Windows Admin Tool Kit Click here and download it now
May 5th, 2012 8:30am

sorry it is working there is blank sheet that was causing the issue. Thanks Eshwar
May 5th, 2012 8:32am

Hi Team, I am facing an issue with the load of excel file with multiple sheets. Here is the link with i followed to do this: http://www.sqllion.com/2009/06/programming-foreach-loop-container-%E2%80%93-enumerating-excel-sheets/ It is getting executed for the first sheet but from the second sheet on it is failing with the below error: [SSIS.Pipeline] Error: "component "Excel Source" (37)" failed validation and returned validation status "VS_NEEDSNEWMETADATA". additional info: [Excel Source [37]] Warning: The external columns for component "Excel Source" (37) are out of synchronization with the data source columns. The column "F1" needs to be added to the external columns. The external column "Capital" (76) needs to be removed from the external columns. The external column "State" (73) needs to be removed from the external columns. Thanks in advance,Eshwar.
Free Windows Admin Tool Kit Click here and download it now
May 6th, 2012 4:07am

That will only work if all sheets have the exact same columns. I guess this is not the case. If your metadata is dynamic, you need to create a dataflow for each Excel sheet.MCTS, MCITP - Please mark posts as answered where appropriate.
May 6th, 2012 4:44am

Hi Eshwar, You might be mis-matching the columns of different sheet. Please check and verify once that you are not having such basic issues. While, you can also check URL, http://danajaatcse.wordpress.com/2010/05/05/extracting-data-from-multiple-sheets-in-an-excel-file-in-ssis/ Revert if prblm still persists..!!Please Mark as Answer if my post solved your problem or Vote As Helpful if this helps. Blogs: www.sqlserver2005forum.blogspot.com
Free Windows Admin Tool Kit Click here and download it now
May 6th, 2012 7:14am

Thanks for the reply.. the column name of all the sheet are same. -Eshwar
May 6th, 2012 7:44am

Are you sure? The error says columns Capital and State are not present in the current sheet.MCTS, MCITP - Please mark posts as answered where appropriate.
Free Windows Admin Tool Kit Click here and download it now
May 6th, 2012 7:49am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics