The ‘Microsoft.ACE.OLEDB.12.0’ provider is not registered on the local machine. (System.Data)

When you try to import Excel 2007 or later “.xlsx” files into an SQL Server 2008 database you may get the following error mesage : The ‘Microsoft.ACE.OLEDB.12.0’ provider is not registered on the local machine. (System.Data)   To solve this problem install the appropriate version of the Microsoft Access Database Engine.   On 32 bit …