sql server - Foreach Loop Container with Foreach File Enumerator option iterates all files twice -


i using ssis foreach loop container iterate through files pattern on network share.

i encountering kind of unreproducible malfunction of loop container:

sometimes loop executed twice. after files processed starts on first file.

have encountered similar bug? maybe not directly using ssis accessing files on windows share kind of technology? error relate network issues?

thanks.

i found case whilst working excel files , using *.xlsx wildcard drive foreach.

once put logging in place noticed when excel opened produced excel file prefixed ~$. picked foreach loop.

so used trick similar http://geekswithblogs.net/compudicted/archive/2012/01/11/the-ssis-expression-wayndashskipping-an-unwanted-file.aspx exclude files ~$ in filename.


Comments

Popular posts from this blog

php - How can I edit my code to echo the data of child's element where my search term was found in, in XMLReader? -

jQuery Ajax Render Fragments OR Whole Page -

java - Why is BlockingQueue.take() not releasing the thread? -