I'm working on an application using c# that needs to connect to a database to get the information of excel file that I have.
The problem is that until i did a registry clean, I always get the follow error:
System.InvalidOperationException : The .Net Framework Data Providers require Microsoft Data Access Components(MDAC). Please install Microsoft Data Access Components(MDAC) version 2.6 or later. ----> System.Runtime.InteropServices.COMException : Retrieving the COM class factory for component with CLSID {2206CDB2-19C1-11D1-89E0-00C04FD7A829} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
I dont know if the registry clean was, but its the only thing that could do anything. Im using windows 7 and i read that it already includes in the core the component and i cant reinstall it.
What can i do? Seems that any of the solutions that i'm finding isn't working.
Thanks!