Solved

SSIS SQL Source to Excel Destination not writing any rows

Posted on 2013-12-10
7
845 Views
Last Modified: 2016-02-10
Hello, I have a simple SSIS package that has two items in the data flow, OLE DB Source & Excel Destination.  They are connected and I get no errors when I run the package however, I do not get any data in the Excel spreadsheet.  Though the Execution Results says that 1 row has been written.  I have declared the first row in the Excel spreadsheet as the header row and it has the name of the columns in it.  I get one row as a result from my SQL Query which is fine.  But nothing shows up in Excel and I am completely lost at this point over it.  

Any ideas or suggestions as to what to look at is greatly appreciated.

Regards,
John
0
Comment
Question by:j_heck
  • 3
  • 2
7 Comments
 
LVL 44

Expert Comment

by:Rainer Jeschor
ID: 39710680
Hi,
which SQL version?
Could you zip the package and attach it to this question?
Thanks.
Rainer
0
 
LVL 65

Accepted Solution

by:
Jim Horn earned 500 total points
ID: 39711139
>I do not get any data in the Excel spreadsheet.
Eyeball all of your Excel doc to make sure that is the case, as SSIS to Excel has some known issues where if a package previously inserted 100 rows, and you run it again, the output data will appear on row 101 and not row 1.
0
 

Author Comment

by:j_heck
ID: 39772181
I've requested that this question be deleted for the following reason:

I figured out what I was doing wrong.
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 65

Expert Comment

by:Jim Horn
ID: 39772182
>I figured out what I was doing wrong.
For the benefit of future experts in your situation, spell out what you were doing wrong here.
0
 

Author Comment

by:j_heck
ID: 39830208
You are right Jim, I apologize for not giving the resolution.  It was a file naming problem with the file it was being written to in the Excel Destination.  The incorrect sheet was being written to.  This was still giving me problems so for the time being I switched it tow write to a CSV file using the Flat File Destination and the Flat File Connection Manager.
0
 

Author Closing Comment

by:j_heck
ID: 39830215
Jim you got me looking more closely at the Excel Destination and I did switch to using a Flat File Destination for the time being.  Thanks.
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Join & Write a Comment

In couple weeks ago, I encountered an extremely difficult problem while deploying 2008 SSIS packages to a new environment (SQL Server 2014 standard).  My scenario is: We have one C# application that is calling 2008R2 SSIS packages to load text fi…
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
This video discusses moving either the default database or any database to a new volume.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

747 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now