When I try to connect to an Access db, I get the following error: The .Net data OLE DB Provider(System.Data.OleDb) requires MDAC version 2.6 or later ...
The code is:
OleDbConnection JetCon;
string sMyConnection = "Provider=Microsoft.Jet.OLEDB.4.0;" +
"Data Source=" + fnDB + ";Jet OLEDB:System Database=";
JetCon = new OleDbConnection(sMyConnection);
JetCon.Open();
I have msjet40.dll installed and the registry reports that I have MDAC v2.71.9030.4 installed.
What have I missed?
---
Posted using Wimdows.net NntpNews Component -
Post Made from http://www.DotNetJunkies.com/newsgroups Our newsgroup engine supports Post Alerts, Ratings, and Searching.