Solved

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

Posted on 2012-04-09
5
221 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
Comment Utility
Should say: Can not establish ODBC connection to .mdb database file after upgrading to CF9
0
 
LVL 11

Expert Comment

by:ScriptAddict
Comment Utility
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
Comment Utility
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
Comment Utility
(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
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

PROBLEM:  How to open a cfwindow or run a function on double click of a cfgrid row. One of my clients wanted to be able to double click on a row item to get more detailed information about a transaction and to be able to modify the line items i…
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 …
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

763 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now