Skip navigation
Currently Being Moderated

Problems connecting to MS Access database

May 15, 2012 1:29 AM

Tags: #cf9 #odbc #access_database #accdb #access_problems

Hi

 

I'm using Coldfusion 9 (with latest patch) developer edition, on Windows 2008 server 32bit. I had Office 2010 installed and created a database using Access (had an .accdb extension). When I try to use the CF administrator to create a datasource, I receive this error message:

 

Connection verification failed for data source: database

java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Cannot open database '(unknown)'. It may not be a database that your application recognizes, or the file may be corrupt.

The root cause was that: java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Cannot open database '(unknown)'. It may not be a database that your application recognizes, or the file may be corrupt.

 

I thought it might be because I was using a new version of Access, so I downgraded to office 2007, got same problem.

 

I've tried googling around for this, there seems to be discussion about this problem on 64bit systems. Can anyone tell me how I could fix this please? its getting frustrating.

 

 

thanks

 
Replies
  • Currently Being Moderated
    Sep 5, 2012 12:24 PM   in reply to sb1817

    I have got ColdFusion 10 loaded and have similar connection problems for Access databases. I am using Office 2010.

     

    There was discussion on other threads here two years ago, and following the recommendations there (setting up the DSNs on \Windows\SysWOW64\odbcad32.exe, etc), I can establish some sort of connection on the CF Administrator. However queries on the datasources all result in the message "Error Executing Database Query". [Macromedia][SequeLink JDBC Driver][SequeLink Server], Unable to retrieve error message from backend ODBC driver.

     

    Anyone any ideas?

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 5, 2012 4:06 PM   in reply to VincentL12
     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points