Excel in SQL Server mit Microsoft.ACE.OLEDB.12.0

Beim Versuch, eine Excel-Datei in SQL Server 2008 r2 64-Bit zu öffnen, wird die folgende Fehlermeldung angezeigt:

Msg 7399, Level 16, State 1, Line 1
The 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 1
Cannot initialize the data source object of OLE DB provider 
"Microsoft.ACE.OLEDB.12.0" for linked server "(null)".

Ich benutze die folgende Abfrage:

SELECT * FROM OPENROWSET('Microsoft.ACE.OLEDB.12.0', 'Excel 12.0; 
HDR=NO; IMEX=1; Database=\\filepath\filename.xlsx', 'SELECT * FROM [Sheet1$]')

Das Lustige ist, dass der DBA es ohne Probleme ausführen kann. Ich habe die folgenden Abfragen durchlaufen und ausgeführt:

sp_configure 'Show Advanced Options', 1;
RECONFIGURE;
GO
sp_configure 'Ad Hoc Distributed Queries', 1;
RECONFIGURE;
GO

EXEC sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0', N'AllowInProcess', 1
GO
EXEC sp_MSset_oledb_prop N'Microsoft.ACE.OLEDB.12.0', N'DynamicParameters', 1
GO

Das Konto, unter dem es ausgeführt wird, scheint einen Zugriff zu haben. Was könnte dieses Problem verursachen?

Antworten auf die Frage(4)

Ihre Antwort auf die Frage