I just spent two hours Googling for a solution to my problem and am very frustrated.What I need to do is import data from Excel 2007 (xslx) file into a SQL Server 2008 or 2005 database table.I double-checked all paths and made sure that Microsoft.ACE.OLEDB.12.0 is installed and shows up under Linked Servers->Providers.Here is the query I am running:select top 50 *from OpenDataSource( 'Microsoft.ACE.OLEDB.12.0', 'Data Source=C:\Temp\test.xlsx;Extended properties="Excel 12.0 Xml;HDR=Yes;IMEX=1"')...[Sheet1$]
Here is the error I am getting:Msg 7399, Level 16, State 1, Line 1The OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)" reported an error. The provider did not give any information about the error.Msg 7303, Level 16, State 1, Line 1Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)".