I am looking for help in this error message when running my c# program, which opens an Access database (.mdb)
created with MS Access 2000.
First of all, here is my code:
I'm getting this error when trying to open the OLE DB connection:
ex.Message = "The .Net Framework Data Providers require Microsoft Data Access Components(MDAC). Please install Microsoft Data Access Components(MDAC) version 2.6 or later."
I have run the component checker program: (cc from Microsoft)
I have received a confirmation that I am running MDAC 2.8 SP1 on Windows XP SP3.
How do I go about correcting this? I have uninstalled by right clicking on i:\windows\inf\mdac.inf and selecting
"Active Uninstall" and then doing an active reinstall, then restarting.
Thanks
Mike
created with MS Access 2000.
First of all, here is my code:
string OMconnectionString = //"Driver={Microsoft Access Driver (*.mdb)};"+ "Provider=Microsoft.Jet.OLEDB.4.0;"+ "Data Source=OslerMedicine.mdb;"+ "User Id=admin;Password="; msaCnn = new OleDbConnection(OMconnectionString); try { msaCnn.Open(); } catch (Exception ex) { MessageBox.Show("Exception: " + ex.Message); } OleDbCommand msaCmd;
I'm getting this error when trying to open the OLE DB connection:
ex.Message = "The .Net Framework Data Providers require Microsoft Data Access Components(MDAC). Please install Microsoft Data Access Components(MDAC) version 2.6 or later."
I have run the component checker program: (cc from Microsoft)
I have received a confirmation that I am running MDAC 2.8 SP1 on Windows XP SP3.
How do I go about correcting this? I have uninstalled by right clicking on i:\windows\inf\mdac.inf and selecting
"Active Uninstall" and then doing an active reinstall, then restarting.
Thanks
Mike