I have a script task that copies a file to a new location in one control flow task and then after so dataflow tasks i return to the control flow and run a second script task that deletes the files from the original data source location. The last
script task errors out with message that the files are in use by other process. Through testing I have isolated the other process to be the first script task that copied the files to a new loacation. How do I get the first task to relaease any
file locks it created with the copyfile function when the task completes?
↧