I followed this link on how to loop through all the excels in a folder and loop through excel sheets.
And everthing went on fine, it works as I excpected.
But after the For Each Loop Container for the sheets, I've added a File System Task to move the file to archive folder. And I get a error like this
[File System Task] Error: An error occurred with the following error message: "The process cannot access the file because it is being used by another process.".
NOTE: File System Task is added inside the For Each Loop Container of the excel files.
I guess the error is because of the ADO.NET connection which was estasblished for that particular excel file.
I'm having a very hard time with this, any suggestion or help will be much appreciated.
Thanks in advance.