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

  • SEARCH
  • Home
  • 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 8067639
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T12:23:27+00:00 2026-06-05T12:23:27+00:00

I am trying to read data from Excel file into my windows application. Connection

  • 0

I am trying to read data from Excel file into my windows application.

Connection String :

provider = Microsoft.Jet.OLEDB.4.0; Data Source = "Excel File"; 
Extended Properties =    \"Excel 8.0; HDR = Yes; ImportMixedTypes = Text;
Imex = 1;\" 

With this connection string I am able to read data from Excel file even though Microsoft office – Excel is not installed onto the computer. But some how, my program is not compatible with this connection string.

Connection String which I am using right now is

provider = Microsoft.ACE.OLEDB.12.0; Data Source = "Excel file"; 
Extended Properties = "Excel 12.0; HDR = Yes; Imex = 1;

This connection string is compatible with my program but it only works on the computer which do have Microsoft office – Excel install.

Can anyone suggest me where I am making mistake.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 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-06-05T12:23:29+00:00Added an answer on June 5, 2026 at 12:23 pm

    Microsoft removed the JET engine in all versions of Windows after 2003, including 64-bit Windows 2003. ACE is the modern alternative, but it is not distributed with the base install of Windows either.

    In order to use ACE, you need to deploy the free ACE redistributable from Microsoft to all target machines that do not have Office installed. Then, you can use the second connection string you listed on any of them.

    Get it from Microsoft here:
    http://www.microsoft.com/en-us/download/details.aspx?id=13255

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

Sidebar

Related Questions

I'm trying to read data from a binary file and put it into a
I am trying to read data from excel file in asp.net. I have added
I'm trying to read data from the registry @ SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs\ The return value I
Im trying to read some data from a binary file into a buffer allocated
I am trying to read specific data from a file into two 2D arrays.
I'm trying to read data from excel (xls) sheet. I'm running Windows 7 64-bit,
Im trying to read data from a text file and loading it into a
I'm trying to read data from excel using POI. How can I check if
I'm trying to read data from an xml file and display it in a
I am trying to read data from a file stream as shown below: fileStream.Read(byteArray,

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.