Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Bradley Schacht

Bradley Schacht is a Data Platform Solution Architect on the state and local government team with Microsoft based in Jacksonville, FL. He has co-authored 3 SQL Server books including "SQL Server 2014 Professional Admin". As a former consultant and trainer, he uses his experience on many parts of the Microsoft BI and data platform to help customers deliver the best possible solutions. Bradley frequently presents at community events around the country. He is a contributor to sites such as SQLServerCentral.com and an active member of the Jacksonville SQL Server User Group (JSSUG).

The ‘Microsoft.Ace.OLEDB.12.0' Provider Is Not Registered on the Local Machine

If you have used SSIS to move data from something like Access or more commonly Excel, it is a good possibility you have seen this error at some point:

Error: The ‘Microsoft.Ace.OLEDB.12.0‘ provider is not registered on the local machine.

The reason this error shows up is because the proper components are not present that are required to move data from Office files (I’m looking at you Access and Excel). If you do development on a laptop or desktop then there is a very good chance that Office is installed on the machine and this error will likely never present itself.  However, when the package is run or developed on a server, where Office is generally not installed and shouldn’t be, the proper components for Access and Excel interaction do not exist.

The solution is simply installing the components required from the Microsoft Access Database Engine available here (http://www.microsoft.com/download/en/details.aspx?id=13255) at the time of this post. There is a 32 and 64 bit download so be sure to match that to the machine that has the error. Despite the name of the download it actually works for Access AND Excel. A note if you still have issues after installing the components here: The provider portion of the connection string should read Microsoft.ACE.OLEDB.12.0 and if connection to Excel the extended property of Excel 14.0 may need to be added.

Comments

Leave a comment on the original post [www.bradleyschacht.com, opens in a new window]

Loading comments...