Troubles to make visible MDAC 2.6 or 2.7

  • Thread starter Thread starter Hammer
  • Start date Start date
H

Hammer

connection string to access to an mdb:
------------------------------
OleDbConnection thisConnection =
new OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=C:\Programmi\Microsoft Office\Office\Samples\northwind.mdb");

thisConnection.Open();


Once it opens the connection I get this exception:

"Additional information: The .Net Data OLE DB
Provider(System.Data.OleDb)
requires Microsoft Data Access Components(MDAC) version 2.6 or later.
Version 2.50.4403.8 was found currently installed."

The problem is that I installed MDAC 2.6 but even after that the
application returns me the same exception.

Why it can't see MDAC 2.6 ???

Thank you for your help.
 
Typically, when you install the .NET Framework, MDAC 2.7 is automatically
installed as part of the preliminary Windows Components Update that runs
before the Framework installs.

If you have installed a version of MDAC since installing .NET, you may have
overritten something.
 
Back
Top