Click here to Skip to main content
15,893,564 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all
I am getting this error while using openrowset()

The error is "
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.
"

could anyone help me out to resolve the problem

Thanks & Regards
Prakash.ch
Posted
Comments
RedDk 9-Jul-13 12:01pm    
Download this:
http://www.microsoft.com/en-us/download/details.aspx?id=13255
And follow directions ...
Maciej Los 9-Jul-13 17:20pm    
Please, be more specific and provide more details (for example sql code).

1 solution

This error occurs when there is compatability problem.. ex running 64 bit sql server on 32 bit os or ms word old version on recent os...

So check the versions
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900