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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:59:10+00:00 2026-05-27T13:59:10+00:00

I am trying to fetch data from DBF files from a .NET REST service.

  • 0

I am trying to fetch data from DBF files from a .NET REST service. These files are the bussiness data of another application. This is quite an old app, so dBase/FoxPro is what I have to handle.

I only want to read data. I’m not interested by now in updating/inserting.

My service works OK and I can retrieve JSON messages with the data. The problem emerges when the other app is running. If I try to acces data when the other app is running I get a “ERROR [HY000] [Microsoft][ODBC dBase Driver] External table is not in the expected format.”. As long as I can access the data when the other app is not running, the error message sounds weird.

Another software like the DBF explorer can access the data with the other app running, so I think it must be some bad configuration on the connection string or the driver.

Does anybody know how to configure de ODBC connection in order to access these tables while they are open by other apps?

Thank you in advance!

P.S.: My connection string:

@"Driver={Microsoft dBASE Driver (*.dbf)};DriverID=277;Dbq=" + pathtoDBFFile + ";";
  • 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-05-27T13:59:11+00:00Added an answer on May 27, 2026 at 1:59 pm

    First, I would not be using the dBASE driver, but instead, download and use the Visual FoxPro OleDb driver from MS.

    In addition, the connection string, you can make the setting for “Exclusive Use” default to No as the following sample from ConnectionStrings.com. The Driver portion is incorrect for the OleDb provider, but the context of Exclusive=No, deleted=no, and whatever other settings you can throw in there can help.

    Driver={Microsoft Visual FoxPro Driver};SourceType=DBC;SourceDB=c:\myvfpdb.dbc;Exclusive=No; NULL=NO;Collate=Machine;BACKGROUNDFETCH=NO;DELETED=NO;

    Another link that reference connection to VFP tables, and a link for downloading the VFP OleDB provider.

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

Sidebar

Related Questions

I'm trying to fetch some settings from my membership provider in my asp.net application
I'm trying to have Django (on top of GAE) fetch data from another web
I am trying to fetch data from my .net project on my android device.
I am trying to fetch the data from the html page. This data is
I'm trying to fetch some data from a column whose DATA_TYPE=NUMBER(1,0) with this piece
I'm trying to create an application that will fetch data from a web API
I'm trying to fetch data from a div (based on his id), using PHP's
I am trying to fetch data from DB and loading the DB with the
I'm using an Oracle DB and I'm trying to fetch data from its tables
I am trying to fetch data from my database and when I display it

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.