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 8501327
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T01:10:55+00:00 2026-06-11T01:10:55+00:00

I want to load xls and xlsx file in c#. For xls I’m using:

  • 0

I want to load xls and xlsx file in c#.
For xls I’m using: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=;Extended Properties=\”Excel 8.0;HDR=YES\
For xlsx : Provider=Microsoft.Ace.OLEDB.12.0;Data Source=;Extended Properties=\”Excel 12.0;HDR=YES\
once the projects platform target was Any Cpu
I can upload xlsx file without problem but when I upload xls file I got the following error:
“The ‘Microsoft.Jet.OLEDB.4.0’ provider is not registered on the local machine.”

And if I change the Platform Target to x86 then xls file is uploaded without problem but
this time xlsx file is giving this error:
“The ‘Microsoft.Ace.OLEDB.12.0’ provider is not registered on the local machine.”

How can I upload but file formats without error?

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-11T01:10:57+00:00Added an answer on June 11, 2026 at 1:10 am

    You should use ACE.OleDB for both types of files.

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

Sidebar

Related Questions

I want to load the form fields using json data. I am using extjs
I have a daily-generated CSV file containing contact data which I want load entries
I want to load data from MySql database to a HTTP form When I
I want to load PNG-file from resources. There is a roughly MFC-way (with CResourceStream
I want to load multiple variables into one .mat file at the end of
I want to load a palette from a bitmap file I have created. The
I want to load an extra config file based on the controller's name in
I am using rich:dataTable with rich:dataTableScroller . And I don't want load all my
I want to load .js(javaScript) file in UIWebView not only one function like [webView
I want load a css or scss file of my rails 3.1 project with

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.