6

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.

Mia
  • 201
  • 1
  • 5

1 Answers1

4

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.

Mia
  • 201
  • 1
  • 5
  • 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 05 '14 at 20:22