Search code examples
sql-serverexcelssisetlsql-server-data-tools

Why isn't my data writing to the excel destination? SSIS


I have created a SSIS package that exports several rows to Excel, usually less than 200 (including the header). When I run it in VS2015 Debug everything turns green.

enter image description here

I even wait like this question says.

enter image description here

Still, nothing but the header ever gets to the file.

I know it's not much data, but I'm trying to automate it as the data will eventually grow and I don't want to manually run this all the time.

Any ideas? I'm using SQL Server 2012 and wrote this SSIS package with VS2015.


Solution

  • Something that occasionally happens with Excel destinations is that hidden formatting will cause the data flow connector to begin writing data at a row other than 1.

    If this happens, you'll need to recreate your template from a fresh Excel document, and reconstruct the header as needed.