Solved

SSIS SQL Source to Excel Destination not writing any rows

Posted on 2013-12-10
7
917 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Master DB with Masterkey 1 39
sql 2008 how to table join 2 31
SQL QUERY 3 33
Adding SQL Server Browser in after install is complete 8 32
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 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