locked
Architecture Mismatch for MS-ACCESS JDBC ODBC DRIVER (Windows 7 64-bit) RRS feed

  • Question

  • I AM USING WINDOWS-7 64-BIT OPERATING SYSTEM.

    I create a DSN (milk) using C:\Windows\Syswow64\odbcad32.exe for Micrsoft Access Driver (*.mdb)

    Then I use this DSN = "milk" in my source code (with NetBeans 6.5 & iReport developing tools) to connect my "milk.mdb" file to my JAVA program.

    But it gives error: "The specified DSN contains an architecture mismatch between the Driver and Application"

    Kindly solve this problem.

    Sunday, March 6, 2011 11:36 AM

Answers

All replies

  • Syswow64\odbcad32.exe = 32Bit. Is your Program 64Bit?

    "A programmer is just a tool which converts caffeine into code"

    Want to install RSAT on Windows 7 Sp1? Check my HowTo: http://www.msfn.org/board/index.php?showtopic=150221
    Sunday, March 6, 2011 1:45 PM
  • Hi,

     

    Please understand it is a development issue. It is better to contact MSDN forum to get accurate suggestions.

     

    MSDN Forum

    http://social.msdn.microsoft.com/Forums/en/winforms/threads

     

    Also check if the following article is helpful.

     

    http://msdn.microsoft.com/en-us/library/ms712362%28VS.85%29.aspx

     

    Best Regards,

    Niki


    Please remember to click "Mark as Answer" on the post that helps you, and to click "Unmark as Answer" if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    • Marked as answer by Vivian Xing Tuesday, March 15, 2011 3:05 AM
    Wednesday, March 9, 2011 10:28 AM