I hope some oone can help with this.
I have a sql 2005 32 bit sp3 STD Edi running on Windows 2003 sp2 Std Edi
I am using a domain account and am local admin on the box. The SQL and the SQL agent are both running under the same account. The account has full to the directory where the file sits and to the temp directory.
Im trying to import data from an xlsx into the database using the link server below
,@useself=N'True',@locallogin=NULL,@rmtuser=NULL,@rmtpassword=NULL
The test connection works, But when I try to run it from the SSMS i get the following error:
I have a sql 2005 32 bit sp3 STD Edi running on Windows 2003 sp2 Std Edi
I am using a domain account and am local admin on the box. The SQL and the SQL agent are both running under the same account. The account has full to the directory where the file sits and to the temp directory.
Im trying to import data from an xlsx into the database using the link server below
EXEC
master.dbo.sp_addlinkedserver @server = N'ReturnTrackingIdsXLSImport', @srvproduct=N'Microsoft Excel Workbook', @provider=N'Microsoft.ACE.OLEDB.12.0', @datasrc=N'G:\BakTemp\QATestFileForCR9216.xlsx', @provstr=N'Excel 12.0 Xml;HDR=YES'EXEC
master.dbo.sp_addlinkedsrvlogin @rmtsrvname=N'ReturnTrackingIdsXLSImport',@useself=N'True',@locallogin=NULL,@rmtuser=NULL,@rmtpassword=NULL
The test connection works, But when I try to run it from the SSMS i get the following error:
Msg 50000, Level 16, State 2, Procedure ImportReturnTrackingIds_forEXCEL2007, Line 256
Cannot obtain the required interface ("IID_IDBSchemaRowset") from OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "ReturnTrackingIdsXLSImport".
Thanks in advanced for any help