Hi there, In my SSIS package i am renaming the file using script task. The path for the file location is stroed in package variables. In the code section i am using "LockOneForWrite" to access the variable. And after my processing i use UNLOCK function. But in next step where it insert the data in the file its failing with the error specifing cant access the file and file is used by some other process. Please advise. Thanks!!