So... Here's the issue. I have a fairly simple excel file that I need to import. I need to import the file to two sql tables. The first table contains the file blob and attributes: filename, created date, updated date, owner, etc.
The second table will hold the contents of the excel file.
I've written a c# script task to extract the file attributes - fairly simple.
Unfortunately, I get a error opening the file when I try to write to the blob - I think because SSIS locks the file during processing. Anyone have experience with a problem like this?
I've had errors with file locks before. I blamed it on Windows being too slow in releasing the locks.
In one case, I added a script task to add a 2 second delay between steps and that resolved the issue.
answered Dec 15, 2015 at 04:38 PM