Solved

Can establish ODBC connection to .mdb database file after upgrading to CF9

Posted on 2012-04-09
5
224 Views
Last Modified: 2012-04-13
Bringing up a new Windows 2008 server with CF9, going to retire the server with CF7MX.  Copied the .mdb file from the old server and uploaded to the new server but I cannot seem to get CF9 to attach to the database file.

When I attempt to use the javascript functionality to browse to the file I get and error message which I have taken a screenshot and attached here.

When I attempt to manually enter the path to the file I get the following error message:

Unable to update the NT registry.
Variable DRIVERPATH is undefined.

Any help?
0
Comment
Question by:EricHoma
  • 3
5 Comments
 

Author Comment

by:EricHoma
ID: 37825157
Should say: Can not establish ODBC connection to .mdb database file after upgrading to CF9
0
 
LVL 11

Expert Comment

by:ScriptAddict
ID: 37825208
Do you need DSN's for that ODBC connection?  

I know anytime we do anything over ODBC we have to update/replace our DNS's related to the ODBC connections.
0
 

Author Comment

by:EricHoma
ID: 37825241
With MX7 you could click on datasources and then click add datasource.  Pull down the correct driver and hit add.  That was all it took, it would connect and verify.
0
 
LVL 52

Accepted Solution

by:
_agx_ earned 250 total points
ID: 37825251
(no points .. just a quick comment)

I don't use Access, but I've seen that error message (and possible fixes) bandied about a lot.  Seems related to using the 64 bit version. Here are a few threads turned up by a quick search (but there are lots more)

    http://forums.adobe.com/thread/142416?start=0&tstart=0
    http://www.cfexecute.com/post/access-dsns-in-64bit-coldfusion/
    http://www.coldfusionmuse.com/index.cfm/2009/4/7/MS.Access.Proxy

HTH. Best of luck.
0
 

Author Comment

by:EricHoma
ID: 37844047
It seems that we had to uload the 64 bit version of CF9 and load the 32 bit version in order to use a .mdb file as a datasource.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi, Even though I have created this Tutorial on My personal Blog, Some people might not able to find my website, So here i am posting it again Today, from the topic it is very clear that i will be showing you here the very basic usage of how we …
Sometimes databases have MILLIONS of records and we need a way to quickly query that table to return the results me need. Sure you could use CFQUERY but it takes too long when there are millions of records. That is why SOLR was invented. Please …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question