Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

I can not connect to the *dbf table using Microsoft.ACE.OLEDB Provider

$
0
0

Hello.

I would like to connect to *dbf tables using Microsoft ACE OLEDB Provider.

System i am using: Win7(32-bit)

My problem is that i can not establish connection and i tried more connection strings,  see example:

1.)

Dim conn As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=d:\folder;Extended Properties=dbase IV;User ID=Admin")

Exception: Could not find installable ISAM ...

2.) without extended properties

Dim conn As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=d:\folder")

Exception: The Microsoft Access database engine cannot open or write to the file 'd:\folder'...

The file is located on my local pc and length of file name is less then 8 character.

Thanks for help

Mato


Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>