• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 535
  • Last Modified:

Read excel xls on 64 bit machine

.NET related question:

I have problems trying to read excel xls on 64 bit machine.
Am aware there is no direct method but then any suggestion for less rework?
0
hongjun
Asked:
hongjun
  • 4
  • 3
1 Solution
 
Carl TawnSystems and Integration DeveloperCommented:
Do you have code to read from Excel, but it just isn't working on 64-bit? Or do you not have code to read from Excel full stop?
0
 
hongjunAuthor Commented:
It is working on 32 bit but not 64 bit.
0
 
Carl TawnSystems and Integration DeveloperCommented:
Have you compiled your app specifically for x86?

There isn't currently an native 64-bit version of the Jet drivers available, so if your app is compiled with the "Any CPU" setting then it will attempt to use 64-bit drivers when on a 64-bit OS.
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
Éric MoreauSenior .Net ConsultantCommented:
0
 
hongjunAuthor Commented:
it is a website
0
 
hongjunAuthor Commented:
erm.. aspose looks ex.
anyway, I just wish to confirm there is no direct method.
0
 
Carl TawnSystems and Integration DeveloperCommented:
Well, using ADO.Net with the Jet drivers is a direct method; or at least more direct than using Office interop. It's just that there are issues with the Jet drivers on 64-bit systems.
0
 
hongjunAuthor Commented:
Yes, let's leave this thread open for a few more days and see if there are more inputs.

Appreciate both of you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now