cant get odbc driver to work properly on windows 64 bit

cant get odbc driver to work properly on windows 64 bit

am 20.11.2009 18:54:21 von Mike Broers

--00032555a9a25e74240478d12abc
Content-Type: text/plain; charset=ISO-8859-1

I have gone through the archives and seen people who used the 64bit build
and people who build the dsns in the 32 bit version of the odbc manager
found under syswow64 but neither of those approaches are what I am looking
for.

1. i have an existing environment that is windows 2008 64 bit which has the
postgres unicode driver installed and working, when i go to odbc manager i
see postgres unicode in the drivers list, and the processes which connect to
the database using this driver work fine. this is psqlodbc35w.dll,
8.03.02.00.

2. i have tried to use the msi to install 8.03.02.00 on a second fresh
windows 2008 64 bit server and i get the same problem everyone else has, the
postgres unicode driver doesnt show up in the drivers list. like i said i
can get at it using the odbcad32 under syswow64 but after setting that up it
still doesnt work properly (complains about a driver/app mismatch, still
doesnt show up in 64 bit drivers list). I have tried installing the 64bit
drivers but still get errors.

anyone know how i can further investigate the setup on the working server as
to duplicate that working configuration on the new server? the person who
configured it initially has left the company and cannot be reached to
explain. thanks in advance, hopefully this thread might help someone else
in this situation down the road.

--00032555a9a25e74240478d12abc
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I have gone through the archives and seen people who used the 64bit build a=
nd people who build the dsns in the 32 bit version of the odbc manager foun=
d under syswow64 but neither of those approaches are what I am looking for.=



1.=A0 i have an existing environment that is windows 2008 64 bit which =
has the postgres unicode driver installed and working, when i go to odbc ma=
nager i see postgres unicode in the drivers list, and the processes which c=
onnect to the database using this driver work fine.=A0 this is psqlodbc35w.=
dll, 8.03.02.00.


2.=A0 i have tried to use the msi to install 8.03.02.00 on a second fre=
sh windows 2008 64 bit server and i get the same problem everyone else has,=
the postgres unicode driver doesnt show up in the drivers list.=A0 like i =
said i can get at it using the odbcad32 under syswow64 but after setting th=
at up it still doesnt work properly (complains about a driver/app mismatch,=
still doesnt show up in 64 bit drivers list).=A0 I have tried installing t=
he 64bit drivers but still get errors.


anyone know how i can further investigate the setup on the working serv=
er as to duplicate that working configuration on the new server?   the =
person who configured it initially has left the company and cannot be reach=
ed to explain.=A0 thanks in advance, hopefully this thread might help someo=
ne else in this situation down the road.





--00032555a9a25e74240478d12abc--

Re: cant get odbc driver to work properly on windows 64 bit

am 20.11.2009 21:33:53 von Mike Broers

--00032555b78ef2d0220478d36475
Content-Type: text/plain; charset=ISO-8859-1

FOUND IT! They had a regedit program to do the dirty work:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\PostgreSQL Unicode]
"APILevel"="1"
"ConnectFunctions"="YYN"
"Driver"="C:\\postgresodbcdlls\\psqlodbc35w.dll"
"DriverODBCVer"="03.51"
"FileUsage"="0"
"Setup"="C:\\postgresodbcdlls\\psqlodbc35w.dll"
"SQLLevel"="1"
"UsageCount"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers]
"PostgreSQL Unicode"="Installed"


Just had to have the dlls placed properly and it worked.



On Fri, Nov 20, 2009 at 11:54 AM, Mike Broers wrote:

> I have gone through the archives and seen people who used the 64bit build
> and people who build the dsns in the 32 bit version of the odbc manager
> found under syswow64 but neither of those approaches are what I am looking
> for.
>
> 1. i have an existing environment that is windows 2008 64 bit which has
> the postgres unicode driver installed and working, when i go to odbc manager
> i see postgres unicode in the drivers list, and the processes which connect
> to the database using this driver work fine. this is psqlodbc35w.dll,
> 8.03.02.00.
>
> 2. i have tried to use the msi to install 8.03.02.00 on a second fresh
> windows 2008 64 bit server and i get the same problem everyone else has, the
> postgres unicode driver doesnt show up in the drivers list. like i said i
> can get at it using the odbcad32 under syswow64 but after setting that up it
> still doesnt work properly (complains about a driver/app mismatch, still
> doesnt show up in 64 bit drivers list). I have tried installing the 64bit
> drivers but still get errors.
>
> anyone know how i can further investigate the setup on the working server
> as to duplicate that working configuration on the new server? the person
> who configured it initially has left the company and cannot be reached to
> explain. thanks in advance, hopefully this thread might help someone else
> in this situation down the road.
>
>
>

--00032555b78ef2d0220478d36475
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

FOUND IT!=A0 They had a regedit program to do the dirty work:

Window=
s Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODB=
CINST.INI\PostgreSQL Unicode]
"APILevel"=3D"1"
&q=
uot;ConnectFunctions"=3D"YYN"

"Driver"=3D"C:\\postgresodbcdlls\\psqlodbc35w.dll"
&=
quot;DriverODBCVer"=3D"03.51"
"FileUsage"=3D&qu=
ot;0"
"Setup"=3D"C:\\postgresodbcdlls\\psqlodbc35w.d=
ll"

"SQLLevel"=3D"1"
"UsageCount"=3Ddword:0000=
0001

[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers] >"PostgreSQL Unicode"=3D"Installed"


Just had=
to have the dlls placed properly and it worked.




On Fri, Nov 20, 2009 at 11:54 AM, Mi=
ke Broers <mbroer=
s@gmail.com
>
wrote:
e=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; =
padding-left: 1ex;">
I have gone through the archives and seen people who used the 64bit build a=
nd people who build the dsns in the 32 bit version of the odbc manager foun=
d under syswow64 but neither of those approaches are what I am looking for.=




1.=A0 i have an existing environment that is windows 2008 64 bit which =
has the postgres unicode driver installed and working, when i go to odbc ma=
nager i see postgres unicode in the drivers list, and the processes which c=
onnect to the database using this driver work fine.=A0 this is psqlodbc35w.=
dll, 8.03.02.00.



2.=A0 i have tried to use the msi to install 8.03.02.00 on a second fre=
sh windows 2008 64 bit server and i get the same problem everyone else has,=
the postgres unicode driver doesnt show up in the drivers list.=A0 like i =
said i can get at it using the odbcad32 under syswow64 but after setting th=
at up it still doesnt work properly (complains about a driver/app mismatch,=
still doesnt show up in 64 bit drivers list).=A0 I have tried installing t=
he 64bit drivers but still get errors.



anyone know how i can further investigate the setup on the working serv=
er as to duplicate that working configuration on the new server?   the =
person who configured it initially has left the company and cannot be reach=
ed to explain.=A0 thanks in advance, hopefully this thread might help someo=
ne else in this situation down the road.








--00032555b78ef2d0220478d36475--