SSIS Error:The GetEnumerator method of the ForEach Enumerator has failed

0

Problem Statement: SSIS package failing with below error.

Error: The GetEnumerator method of the ForEach Enumerator has failed with error 0x80004005 "Unspecified error". This occurs when the ForEach Enumerator cannot enumerate. Error screenshot

Requirement : Using ForEachLoop ,import data from multiple excel and each excel will have one or more sheets with different sheet names. Hence need to automate this using FOREACHLOOP functionality.

FOREACHLOOP setting

Steps : 1) First/external FOREACHLOOP will loop multiple excels using variables. 2) Second/Internal FOREACHLOPP will loop or pick sheet name for different excels. 3) Second/Internal FOREACHLOPP will have “Foreach ADO.net schema rowset enumerator” and excel file path give as source file.

enter image description here

I understand error is because enumerator not able to find the file .But why so I am not able to find. Though connection manager has proper excel path and foreachloop for excel loop alone works fine.

Not sure how to solve this error. Need some help.

ssis-2012
asked on Stack Overflow Nov 20, 2018 by Nischey Anand

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0