Data Flow Excel Destination

Bobby P 226 Reputation points
2021-06-15T22:35:26.893+00:00

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
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,563 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ZoeHui-MSFT 36,116 Reputation points
    2021-06-16T06:15:20.563+00:00

    Hi @Bobby P ,

    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


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.