In an SSIS Data Flow Task I seek to import data using an Excel Source Task connected to an xlsx file located in a SharePoint server, preferably without downloading additional software.
In the Excel Connection Manager I use the following Excel file path format (UNC):
\\sps.servername.com\projects\new\Shared%20Documents\excelfilename.xlsx
I also tried using a space character instead of '%20', and tried out all available Excel versions in the Connection Manager.
I receive the following error messages:
Validation error. Package Connection manager "Excel Connection Manager": SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005.An OLE DB record is available. Source: "Microsoft Access Database Engine" Hresult: 0x80004005 Description: "Failure creating file.".
Validation error. Data Flow Task: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009.
Please note the following:
I have reading rights in the location of the file, but no permissions to create files.
As a workaround it would help to find a way to import the data into a sql server using a stored procedure (or view).
Unfortunately, it is no option to move the excel file from the SharePoint server.