title: Problem with MDAC using windows 7
body: <p>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.</p>
  
  <p>The problem is that until i did a registry clean, I always get the follow error:</p>
  
  <blockquote>
    <p>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)).</p>
  </blockquote>
  
  <p>I dont know if the registry clean was, but its the only thing that could do anything.
  Im using <strong>windows 7</strong> and i read that it already includes in the core the component and i cant reinstall it.</p>
  
  <p>What can i do? Seems that any of the solutions that i'm finding isn't working.</p>
  
  <p>Thanks!</p>