Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SSIS package upgraded to 2016 - File System Task - Rename inside Foreach loop actually deletes file

$
0
0

Hi,

we are upgrading the company's SSIS packages from 2008 to 2016 using Visual Studio. One package I upgraded executes correctly except for a "Rename" step intended to rename a file. It is the last step inside a foreach loop which iterates through all .ERR files it finds. The rename step actually performs a mysterious Delete step, as seen from the package output. This appears to happen immediately before an actual rename action, which fails, because the file is no longer there.

Hope that makes sense.

Dave


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>