Solved

SSIS SQL Source to Excel Destination not writing any rows

Posted on 2013-12-10
7
900 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

856 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