This is my first time using SSIS, I'm getting this error.
Using: VS 2015, Excel 2010
Exception from HRESULT: 0xC02020E8 Error at Data Flow Task [Excel Source [1]]: SSIS Error Code DTS_E_OLEDBERROR.
An OLE DB error has occurred. Error code: 0x80004005.Error at Data Flow Task [Excel Source [1]]: Opening a rowset for "'R0270 Cases$'" failed. Check that the object exists in the database.
The first 7 rows in the excel file are headers information. Row 8 has the column labels and data starts at 9.
Excel Source Editor:
Data access mode: Table or View
Excel Sheet drop-down, it errors out for the first 30 seconds then it populates with the sheet name.
Any clue what's happening and how can I skip the first 7 rows. I have 100+ excel files and same thing happens on 8 different files.
Thanks for your assistance.
IMEX=1;
to your excel connection string, to helps excel to identify the data types correctlyDelayValidation
property of the OLE DB Source
adapter to True
.Assuming that you have 4 columns
SELECT * FROM [R0270 Cases$A8:D]
, so it will start reading from the row number 8 (D
means the column number 4 in excel)References