Click here to Skip to main content
15,900,378 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i am facing an issue in importing the excel data in the c# application.Microsoft.ace.ole db.12.0 not registered on local machine.

These are my system configurations
Windows 7 64 bit
Office 2007

how to resolve this issues
Posted

Hi,

As you are working under 64 bit OS.

Please change target platform before compilation to "x86" instead of "Any CPU"

in Visual Studio 2008, just go to menu ...

Build -> Configuration Manager -> Active Solution Platform: -> New -> Type or select the new platform -> x86 - > OK

Good luck.
 
Share this answer
 
 
Share this answer
 
I suggest this Excel C# library as an alternative, since it doesn't require any registration to Windows registry or any other config file and has excellent C# import / export Excel data support. Just place the DLL in the same directory as EXE and all should work.
 
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