• komal145 (8/25/2016)


    Please see the pacakge hierachy. Let me know if i can cahnge anything with copying? As the move file should be locked but copying of file should work fine. I am copying file to archive folder successfully in dev but in UAT fails and throws error that the file is being accessed by another process.

    As it works in Dev, that suggests that the package logic is working.

    So I still suspect permissions as being the problem.

    Regarding the overall structure, personally I think that putting file operations (delete/move/rename) inside Foreach loops over-complicates things.

    A script task can do these operations, en masse rather than one at a time (cf. set-based vs RBAR), in just a few lines of easy-to-understand code – and that's how I do it.

    If you haven't even tried to resolve your issue, please don't expect the hard-working volunteers here to waste their time providing links to answers which you could easily have found yourself.