'Microsoft.ACE.OLEDB.12.0' 64x Sql Server and 86x Office???
Posted
by Chris
on Stack Overflow
See other posts from Stack Overflow
or by Chris
Published on 2010-05-24T18:17:02Z
Indexed on
2010/05/24
18:21 UTC
Read the original article
Hit count: 1401
The error: OLE DB provider 'Microsoft.ACE.OLEDB.12.0' cannot be used for distributed queries because the provider is configured to run in single-threaded apartment mode.
And the answers I'm seeing is a conflict between 64 bit Sql Server and 32 bit Office. Is there a way to run an openrowset on Excel into Sql Server?
insert into dbo.FiscalCalendar
select * from
openrowset('Microsoft.ACE.OLEDB.12.0',
'Excel 12.0 Xml;Database=C:\Users\v-chrha\Desktop\fy11.xlsx;',
'Select * from [Sheet1]')
© Stack Overflow or respective owner