I am facing an issue while using Excel file as source in SSIS.
I have a Excel source file with extension xlsx received via email.
When I create a excel source for this this file all the Sheet names appears correctly in the Excel Source Editor of SSIS.
However when I try to select columns of the excel sheet i get following error
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 "RED$" failed. Check that the object exists in the database.
I can confim:
- Excel file dos have sheet name RED and it dose not contain $ sign.
- Delayed Valuation = True
- Project debugging mode is 64 bit is set to false.
Strangely if I open the file and save it manually without making any changes to the file and then try to create excel file connection manager then it works perfectly without any error.
How do I resolve this error as its not possible to manually open and save file before execution of package.