If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > JAVA > Problems connecting Java and Microsoft Access db

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-28-11, 11:52
CamelSlayr CamelSlayr is offline
Registered User
 
Join Date: Jun 2011
Posts: 1
Problems connecting Java and Microsoft Access db

Hey everyone, I'm in a bit of a conundrum here and I hope somebody can help me out. I'm trying to write a Java application that will be able to manipulate a Microsoft Access db but I've been running into some problems. Currently, I am getting this error message when I run my code in Eclipse:

java.sql.SQLException: [Microsoft][ODBC Driver Manager] The specified DSN contains an architecture mismatch between the Driver and Application

I am on Windows 7 Ultimate 64-bit and I know the Access drivers are 32-bit. I've followed the steps on Microsoft's website to connect to the 32-bit drivers but I'm still getting the error.

Everything that I've seen where someone was able to resolve this issue simply followed the above procedure but I keep coming up empty. Any ideas?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On