[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

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

Posted on 2012-04-04
3
Medium Priority
?
331 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

650 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