Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

SSIS Package executes successfully but can only insert limited # of rows to excel file when executed by SQL server Agent

$
0
0

Hi,

I have a SSIS package (SSIS 2008 R2) that gets source data from Oracle using the Attunity drivers and writes to an excel tab using the "Microsoft Office 12.0 Access Database Engine OLE DB Provider". I have created a template excel file, and my package is supposed to insert data into the template excel file. When the package is executed on my pc (Win 7 64 bit with 64 bit drivers), it works and inserts the rows without issues. However, when executed on the server, the package execution shows as successful, no errors are reported, but when I look at the output file, no rows have been inserted in the excel template. 

After a lot of troubleshooting, I tried to write a limited # of rows (3K-4K i.e around 1003KB) and that was successful. So I am not sure why it can't write the full file which has 60K rows. One more row in this file, would mean it would be 1004KB ( checked by executing on my pc and finding out the size of the file).

--I checked the Excel Row limits, and excel 2007 can handle these many rows.

--I checked the "DefaultBufferSize" limit on the package data flow task, and that's 10MB.

--The exact Row# is not the issue as another query doing the same process ends at another Row# and is of 960KB (One more row in this file would be 960KB too)

--We checked the database engine installed on the server and it's current.

--We also tried writing to the same network drive from my pc and it worked. So there don't seem to be any file size limitations causing this.

--File permissions can't be the issue, since we can write limited # of rows in that same folder.

Has anyone come across such an issue and figured out a solution to this? 

Thanks!


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>