Solved

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

Posted on 2012-04-09
5
223 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Hi, I will be creating today a basic tutorial on how we can create a Mail Custom Function and use it where ever we want. The main advantage about creating a custom function is that we can accommodate a range of arguments to pass to the Function and …
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 …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

770 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