SSIS FOREACH LOOP showed error after all the files are looped through

DDUC 1 Reputation point
2022-12-19T01:15:41.187+00:00

Hi,

I am having an issue with foreach loop in on of my SSIS package. After all the files were loaded from unprocessed folder and moved to processed folder, it supposed to stop the loop and moved to the next step. However, In my case the loop kept running and I got a message saying that "[Excel Source [2]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed."

It seems like it trying to find the files in the folder but since it is empty hence this error. " Any helps would be greatly appreciated. Thanks
271836-screenshot-20221219-021113.png

SQL Server Integration Services
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.