question

BobbyP-1695 avatar image
0 Votes"
BobbyP-1695 asked ZoeHui-MSFT commented

Data Flow Excel Destination

I have a Data Flow with an Excel Destination. The Excel Destination uses a Staging File that I was planning on creating from a Template Excel file via a File System Task Copy.

When I run my SSIS Package in Microsoft Visual Studio, the Staging File is being created on the fly...dynamically....Is that because the Excel Connection Manager is referencing it and creating it since it isn't there?

My plan was to copy the Template.xlsx to a Staging.xlsx and use that to Stage my Data getting from an OLE DB Source and then Copy that to my Fully Qualified File Name with YYYYMMDD and then Delete the Staging.xlsx at the end.

Will the SSIS Package always dynamically try to create this Staging.xlsx because it's referenced in the Excel Connection Manager? Even when I have set DelayValidation to True?

Is there any way around this? I DO NOT want the Staging.xlsx file to be created dynamically. I want to control that myself by copying the Template.xlsx to Staging.xlsx because my Template.xlsx is formatted the way I want.

sql-server-integration-services
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ZoeHui-MSFT avatar image
0 Votes"
ZoeHui-MSFT answered ZoeHui-MSFT commented

Hi @BobbyP-1695,

I test locally and the staging.xlsx file will not be created dynamically.

My simple setting is like below you may have a check.

The two connection I chose is existing file not create file.

106007-616.png

Regards,

Zoe


If the answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Hot issues October



616.png (26.5 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

May I know how's the issue going on now?

0 Votes 0 ·