Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3484912
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T10:50:39+00:00 2026-05-18T10:50:39+00:00

A couple years ago I wrote a C#.NET program that used Microsoft ACE and

  • 0

A couple years ago I wrote a C#.NET program that used Microsoft ACE and JET OLEDB to convert Excel spreadsheets to CSV files. Recently we upgraded to a Windows Server 2008 x64 server. Since JET was deprecated that method no longer worked. Originally .xls files from Excel 2003 were handled with JET and .xlsx Excel 2007 files were handled with ACE. I changed the connection strings to use ACE for both.

We can now run the program successfully through a command prompt. However, when we use our automation software (which apparently runs the program similar to the Start->Run method), we get an error saying that the Microsoft Data Access Components are not installed. Upon researching these, it appears they only work on 32-bit systems and don’t support anything above Windows Server 2000.

Any ideas? We have the newest beta x64 ACE OLEDB drivers installed. The program runs fine manually. I’ve also tried compiling the program with a target platform of x86. We also manually ran the program successfully using the windows account that the automation software uses.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T10:50:39+00:00Added an answer on May 18, 2026 at 10:50 am

    On a 64-bit Windows, the process defines the bitness: 32 or 64.

    If you start a program in 64-bit mode, and that program does COM (OLEDB is COM-based), it will look for COM 64 bits DLL only (in fact, it just uses the 64-bit side of the registry whe 64-bit COM components are registered).

    If you start a program in 32-bit mode, and that program does COM, it will look for COM 32 bits DLL only.

    Now, it can depend on the version of the C# compiler, but today, most C# program are configured to be compiled as “Any Cpu”. It means they will run as 32 on a 32-bit OS and 64 on a 64-bit OS, which makes things quite complicated if they use COM directly or indirectly (sometimes, you don’t even know you’re using COM!).

    So… to sum up:

    1) determines the bitness of your process (easy with Task Manager, 32-bit processes on a 64-bit machine are suffixed with “*32”).

    2) install the corresponding COM OLEDB drivers.

    If the OLEDB drivers do not exists in 64-bit mode, then you’ll have to recompile your C# .EXE or patch it to force 32-bit mode. You can use the CORFLAGS tool for this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following function that I wrote couple of years ago. It takes
I have an app that I wrote a couple years ago that uses Canvas/FBML
Couple of years ago i used some tool to monitor what event messages were
When developing in Java a couple of years ago I learned that it is
A couple of years ago I was taught, that in real-time applications such as
I wrote a C# application for a client a couple of years ago, but
A couple of years ago, I committed some work to a git repo that
I'm using this script which i used a couple years ago to fix the
I have a simple SWF video loop I made a couple years ago that
A couple of years ago, I uploaded a module to CPAN that probably isn't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.