We received error today – Cannot initialize the data source object of OLE DB provider “Microsoft.ACE.OLEDB.12.0” for linked server.
We have SSIS 2012 package using the Excel file based linked server. When we did test connection on this Excel file based linked server, we received the same error.
The solution was very simple, just close the Excel file, and Viola the error was gone.
So whenever we have Excel file based linked, if the associated Excel file remains accidentally open we get this error.