5

I'm trying to install the Postgres ODBC 32bit driver on a Windows 2008 R2 64bit machine. After installing it, with no errors, I go to the ODBC panel, the 32bit version under the /syswow64 folder and try to add the driver, select the Postgres driver from the list but I get an error 126, saying he can't find the driver at the specified path.

The problem is that the path he shows me, is the exact path the driver is in, I double checked on the registery (on the HKLM\SOFTWARE\Wow6432Node\ODBC\ODBCINST.INI\ location) and it's fine there too. A couple more people on technet have the same issue too.

Did anyone ever run into this? Any ideas would be greatly appreciated.

edit: the driver works fine on my win7 x64 test machine, this behaviour only happens on the server.

  • 1
    Can you fire up a brand new 2008 R2 and try to replicate the problem? – BlueCompute Jun 2 '14 at 22:08
  • Unsure if our license allows for that, I'll check. – uaise Jun 3 '14 at 8:58
3

Well, I figured it out. Leaving the answer here and a couple other places for future generations:

The system was missing the "secret" prerequisite of having Visual C++ 2010 Redistributable x86 installed (not the x64, that one it had). Fixed the problem instantly.

  • I found today that you do need both the x64 version of the vs2010 redistributable if you want to install the x64 version of the odbc driver. – Joel Coel Jun 5 '14 at 20:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.