The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.

Answered The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine.

  • Monday, November 30, 2009 5:47 AM
     
     
    I have Visual Studio 2010 Beta 2 and Access 2010 Beta installed on my computer

    I have Windows 7 64 bit but i hope both vs 2010 and Access 2010 Beta are 32 bit guessing from their process name
    (devenv.exe *32 and MSACCESS.EXE *32)

    I installed 2010 Office System Driver: Data Connectivity Components 32 Bit
    And still in my C# program, the statement

    OleDbConnection conn = new OleDbConnection(@"Provider=Microsoft.ACE.OLEDB.12.0;" + @"data source=C:\insructionSet.accdb");

    and conn.Open() produces the error

    "The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine"
    The database was created in Access 2010

    In another C# program
    private OleDbConnection conn = new OleDbConnection(@"Provider=Microsoft.JET.OLEDB.4.0;" + @"data source=C:\tax.mdb");

    and conn.Open() works fine

    Please Help

    • Edited by Vivek Raj R Monday, November 30, 2009 5:49 AM Error in previous post
    •  

All Replies

  • Monday, November 30, 2009 7:31 AM
     
     Answered
    hi,
    may be this post can help you out:
    http://ybbest.wordpress.com/2009/07/22/the-microsoft-ace-oledb-12-0-provider-is-not-registered-on-the-local-machine/


    Manish Patil http://patilmanishrao.wordpress.com Posting is provided AS IS with no warranties, and confers no rights.
    • Marked As Answer by Vivek Raj R Tuesday, December 01, 2009 6:09 AM
    •  
  • Tuesday, December 01, 2009 6:09 AM
     
     
    Thanks. I have a 64 Bit Windows 7 and that was my problem. Solved. Thanks a lot
  • Thursday, August 12, 2010 4:42 PM
     
     
    hi, i've the ame issue when i move my web app to the hosting website is there a  way i could add reference  so that it  would be included in  my bin folder to work on the Production Server?
  • Friday, April 20, 2012 7:54 AM
     
     
    hi, i've the same issue of "the 'microsoft.ace.oledb.12.0' provider is not registered on the local machine. windows 7". But Manishrao suggestion has solved this issue.Bundle ofThnx.