Troubles to make visible MDAC 2.6 or 2.7

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.
 
S

Scott M.

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top