SQL server linked server to Excel error Cannot initialize the data source object of OLE DB provider “Microsoft.ACE.OLEDB.12.0” for linked server

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.

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s