Cannot find DBF file in a given folder

by muneeb 3/4/2008 4:20:00 PM

Ever tried to connect to a .dbf file in .NET and gotten a Microsoft JET OleDB error that the file does not exist or something? You know the file is there because you've double checked and you know you've given the correct path but still no cigars? Here'e a reason why: Microsoft JET OleDB driver for dBase .DBF files does NOT support filesize greater than 8 characters! So, all you have to do is rename your .dbf file to 8 or less than 8 characters and you'll be good.

 [Thanks to https://msmvps.com/blogs/access/archive/2007/09/10/microsoft-jet-database-engine-could-not-find-object-xyz-dbf.aspx for this tip!]

 Hope it helps!

 

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags: , ,

ASP.NET

Related posts

Comments

5/20/2008 4:30:39 PM

Alex

Thanks - worked a treat

Alex gb

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading




Tags

© Copyright Beyond Web Logs.


Recent comments

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008

Sign in