Skip to main content
June 1, 2007
解決済み

Variable DRIVERPATH is undefined Error

  • June 1, 2007
  • 返信数 3.
  • 13015 ビュー
I have just installed coldfusion mx 6.1 developer edition on vista ultimate. The installation went fine.
However i get an error when adding a datasource in access or verifying all connections.
On adding the datasource, i get the following error.

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

Is it because of vista incompability?
    このトピックへの返信は締め切られました。
    解決に役立った回答 Cole
    CF probably does not have permission to access to your registry

    Locate the following reg key

    HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\<your data source>\

    do you see a string called "Driver"?

    if not, create it with the value of "C:\WINDOWS\System32\odbcjt32.dll"

    if this works, credit Rob D.

    返信数 3

    Participant
    June 11, 2009

    I had same problem with x64 vista found answer

    Open C:\Windows\SysWOW64\odbcad32.exe and create a System DSN using the Microsoft Access Driver (*.mdb).

    Then open the ColdFusion Admin and create a datasource using the ODBC Socket driver.

    Check the Trusted connection checkbox and it should work.

    Participant
    October 3, 2010

    @jimmoos

    Your solution is clean and works! No messing around with registry entries.

    I have x64 Windows 7. I took myself backwards and was able to reinstall my ColdFusion MX 6.1 software. It was also my first time to use the  "ODBC Socket driver" option. Upto this point I had always used the other drivers (native ones)

    Thx buddy

    Participant
    March 20, 2011

    Thanks so much for the info!  I have Windows 7 x64bit with

    Coldfusion 6.1.  I'm just developing for myself so didn't want to upgrade.  This solution worked perfectly.  Thanks again!

    June 2, 2007
    That does work. but has to be done each time an access datasource is added. Is there anyway to give coldfusion permission to access the registry automatically?
    Cole解決!
    Participating Frequently
    June 1, 2007
    CF probably does not have permission to access to your registry

    Locate the following reg key

    HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\<your data source>\

    do you see a string called "Driver"?

    if not, create it with the value of "C:\WINDOWS\System32\odbcjt32.dll"

    if this works, credit Rob D.
    Inspiring
    August 8, 2007
    I did the exact same thing, but it's not working for me. I still get the following error:

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

    Any ideas anyone?