Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 42220

VS 2010 Connecting to MS Access Database using Microsoft Jet OLEDB 4.0 engine

$
0
0
Hello guys!

This is the first time ever I'm connecting to a MS Access Database. I'm using Microsoft Jet OLEDB 4.0 engine.

This is my connection string.

Code:

con = New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;_Data Source=D:\database.accdb")
In compile options in targetCPU, when I set it to AnyCPU or x64, I get an error saying "Microsoft.Jet.OLEDB.4.0 is not registered in the machine". Googling let me know that there is no 64 bit version of JET OLEDB engline. So, I set it to x32 I get an error saying "could not find installable ISAM". A lot of threads I found in google were resolved just by correcting connection string. But I guess mine is correct.

What do I do? I'm on 64-bit Win7 OS.

Looking forward for your help.

Viewing all articles
Browse latest Browse all 42220

Trending Articles



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