Domanda

Im inserting data into Excel using SSIS.

Im getting the following exception:

'[Excel Destination [32]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available.  Source: "Microsoft Office Access Database Engine"  Hresult: 0x80004005  Description: "Spreadsheet is full.".'

I did some research using the following link:

http://office.microsoft.com/en-us/excel-help/excel-specifications-and-limits-HP010073849.aspx

It states that you can populate the maximum of 1,048,576 rows by 16,384 columns

The data i am importing into Excel is only about 100,000 rows by 5 columns

Why am I getting this exception?

FYI the following is my Data Flow Task:

ODBC Source to Data Conversion transformation to Excel Destination

È stato utile?

Soluzione

The best work around for this was to use a Flat File Destination and then import the Flat File directly from Excel. This proved to perform a lot better that using SSIS to import to Excel which is extremely slow. This work around imported my data almost instantaneously rather than having to wait a half an hour.

Altri suggerimenti

I sorted by changing the file to xlsx and changing the excel version (property excel connection manager) to Excel 2007-2010

I solved it by creating an empty EXCEL file with all the columns that should be filled during transformation, and created a table out of those columns in the Excel file. So you can do so by selecting the columns and click on "Format as table" option available to you. Once the Excel file is ready, you can save it as xlsx extension and try loading that excel file again. Now you will be able to load the excel file with higher number of rows in it.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top