Post Your Answer Discard By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of service , privacy policy and cookie policy , and that your continued use of the website is subject to these policies. In your application you must then refer to that data source in the connection string. Which is kind of suspicious because if it is all about that, the file should be there already. Does this dbase really contain a table named “test”? I tried the obvious solutions found on Google, like making sure if the file is actually there, changing the file name, etc. At least get rid of the extra space after “test”. EDIT on the second line of dbCommand.

Uploader: Kagaran
Date Added: 27 October 2006
File Size: 12.92 Mb
Operating Systems: Windows NT/2000/XP/2003/2003/7/8/10 MacOS 10/X
Downloads: 11772
Price: Free* [*Free Regsitration Required]

Just create everything inside the method. Does this dbase really contain a table named “test”?

But, luckily, I had access to the production version of installer which installs all required drivers and things worked after the installation! Text ” ; is it right?

[RESOLVED] Opening DBF files with .net

What else could I try to make it work? Help us improve MSDN.

So, I’m pretty microsift that the file is where it is supposed to be, I’m pretty sure that the file isn’t damaged I can open it with some shareware I downloaded from the internet, not to mention that the file didn’t change in the last years either.


Now that I try how it works by recompiling it from source on the same looking mifrosoft where it is supposed to run same architecture, sufficient looking driversit gives me the following error:.

Error trying to read .dbf file? ERROR [HYS12] [Microsoft][ODBC dBase Driver] Index file not found.

Make sure the object exists and that you spell its name and the path name correctly. In my case, I changed the target output to x86 and worked. In first case this line: Have you tried De’ bugger’s microzoft The problem is that I can’t get this dbf file read in my application.

Error: [Microsoft][ODBC dBase Driver] The Microsoft Jet database engine cannot open the file ‘…’.

Some of the products dgase appear on this site are from companies from which QuinStreet receives compensation. Not to mention that it doesn’t seem to point to database tables at all.

Sign in to vote. It handles old dbass files. You may have to register before you can post: I found a different solution to read dbf files: Maybe I do something very wrong, but it just created a.

The content you requested has been removed. You could provide the code at the line where it fails? Tuesday, April 6, 6: QuinStreet does not include all companies or all types of products available in the marketplace. Tuesday, April 6, 9: It should contain a directory name that has a file named test.


Just a note on the connection string. Ebase sure the object exists and that you spell its name and the path name correctly. The dsn file is just a file that contains the parameters of the ODBC configuration. That error message should give you – and us – an idea of what the issue is. The name of the data source must be included in the connection string for your Connection object.

If I try to read file with less records error doesnt accour. I have used the following code: This looked promising until I set a 42z02 DSN on the directory.

Post as a guest Name. Sign up using Facebook.