All,
We have a package that imports data from EXCEL File to SQLServer. The package by itself works fine when it is executed from the local workstation but fails from the server when it is executed from the job with the following error:
----------------------------------------------------------------------------------------------------------------------------
Source: EvCanInterface Connection manager "Excel Connection Manager"
Description: SSIS Error Code DTS_E_OLEDB_NOPROVIDER_ERROR. The requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not registered. Error code: 0x00000000.
An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80040154 Description: "Class not registered".
----------------------------------------------------------------------------------------------------------------------------
I inderstand why this is happening because the SQLServer Service and the Agent account runs off of a Windows Login that is not a domain admin and it might not have the necessary permissions. I checked the Temp folder and the login has access to this folder.
The Service account is in the local Administrator's group (just as my id)
I also ran the following from SSMS with my id and it works fine.
SELECT * FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0','Excel 12.0;Database=\C:\SourceFiles\Invest.xlsx', 'SELECT * FROM [SHEET1$]');
What am I missing?