Click here to Skip to main content
15,895,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am working in c# windows application, it has microsoft excel import and export features using OLE DB Connection. It has a support of 2003 and 2007 Excels. This feature is working in all Systems which are having 32 bit OS's. But that excel import and export is not working in 64 bit Windows 7 OS. The following error is coming when try to import MS Excel 2007 in Winodws 7 64 bit Operating syste.
"Micosoft OLE DB 12.0 is not registered with local machine".
Could you please help in this issue. I need solution for this urgently

Thanks && Regards,
K.Kedarnadh
Posted

Try this: Compile your application for target cpu x86 -> if it works, I´ll explain why ;)
 
Share this answer
 
First off, this issue is only urgent to you, no-one else. If Access 2007 is not installed on the local machine then you need to install the Office 2007 Connectivity components on to that machine which can be found here[^]

As long as your app is compiled to a 32 bit executable, then the OS shouldn't matter at all.
 
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