ms access - 'Microsoft.ACE.OLEDB.12.0' provider is not registered -but it is -


short and sweet:

  • App X86 works on the machine, but on x64 Not a 2008 server and Windows 8)
  • The Microsoft Access Database Engine 2010 is already installed (this includes Microsoft Office 2007 Access Database Engine also)
  • MS Office is not installed < / Li>
  • Confirmed the existence of C: \ program files (x86) \ general files \ Microsoft share \ OFFICE12 \ ACEOLEDB.DLL

    code:

      Tring conn = "provider = SQLOLEDB; data source = localhost; initial list = northwind; integrated security = spi;"; OLADBACCATION _CONVILMENT OLE = new allelebonection (cone);   

    What should I do to make this app work on x64 machines? Thanks!

    I can think of two scenarios which can explain your problem: < Ol>

  • Your C # project is set to target both 64-bit and 32-bit platforms and is a 32-bit version of installing Access database engine in a 64-bit machine. This reference fails because the program is running as 64-bit, but the machine is missing

    C: \ Program Files \ Common Files \ Microsoft Shared \ Offices 14 \ ACEOLEDB.DLL

  • Your C # project is set to target only 32-bit platforms (x86) and a 64-bit machine only has a 64-bit version of Access-Database Engine installed. The reference fails because the program is running as 32-bit, but the machine is missing

    C: \ program files (x86) \ general files \ microsoft share \ OFFICE14 \ ACEOLEDB.DLL

    Note that the installer installs the bus 64-bit version for the 64-bit version of the database engine, not both.

Comments

Popular posts from this blog

excel vba - How to delete Solver(SOLVER.XLAM) code -

github - Teamcity & Git - PR merge builds - anyway to get HEAD commit hash? -

ios - Replace text in UITextView run slowly -