Solved

SSIS locking file in data flow task, not releasing when completed

Posted on 2012-04-04
3
304 Views
Last Modified: 2012-08-20
I have an excel file that is loaded in a data flow task and then is renamed to include the date and moved to an archive folder.  For some reason the data flow task is locking the file and preventing me from moving it even after the task has completed.  I have this process working under several packages for several other files and don't see any difference between them.  The Excel.exe process is not running and I can't find anything that would point me to what could be causing the issue.

Has anyone had a similar problem?  The closest thing I found was to move the file to the archive folder before processing, but this will not work as the file name changes to include the date.

Thanks
0
Comment
Question by:bcullenward
  • 2
3 Comments
 
LVL 15

Expert Comment

by:Anuj
ID: 37809851
How are you renaming the file, is that using .Net?
0
 

Accepted Solution

by:
bcullenward earned 0 total points
ID: 37811108
It was renaming via a File.Move in the script task.  

The good thing is that it started working without me doing anything, the bad thing is I don't know the cause.

This can be closed.
0
 

Author Closing Comment

by:bcullenward
ID: 38310992
It fixed itself
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now