Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 8FB6A632F35 for ; Fri, 20 Nov 2009 16:34:07 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 22979-04 for ; Fri, 20 Nov 2009 20:33:53 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mail.postgresql.org (Postfix) with ESMTP id 0CD5A632F5C for ; Fri, 20 Nov 2009 16:33:55 -0400 (AST) Received: by bwz5 with SMTP id 5so4008937bwz.3 for ; Fri, 20 Nov 2009 12:33:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=knguBxbmJMC4gVP8nwE/wiEzjZ3PwVQYOu0BWx3u1K8=; b=ldB+K2Y+d0HeybYmAkruJNi+aziQJeqQnNasJWn9BuLfJr0sWig+89QrVn2dSHFALy MUFmc3GO776VXf2kuWfLtGk8CHqAlEPUSiWhYDD0BUVHDfq2RojLe4NwGQFCRQHcOPI6 JTf96+G/0qlknatRlQjcj3tMSvLfyAkz5nY5g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=slqR3Iah/bRdfw4JPt46Pg8cpE3IKNcQnHq4o908qvGPVj/W5pvMAOSPNm6kUt1Qh9 6jtAVZ0B4Wk+OF5B5PLjNEtIq3BA84vtRX1o5QVDf1fBmhBp4MCY6CvQtuyR6J0pqkrJ ZSQQkNqDJ1FVDPs9WRUo/UbZ/oWWmf98VOpdQ= MIME-Version: 1.0 Received: by 10.204.10.18 with SMTP id n18mr1726741bkn.152.1258749233909; Fri, 20 Nov 2009 12:33:53 -0800 (PST) In-Reply-To: References: Date: Fri, 20 Nov 2009 14:33:53 -0600 Message-ID: Subject: Re: cant get odbc driver to work properly on windows 64 bit From: Mike Broers To: pgsql-odbc@postgresql.org Content-Type: multipart/alternative; boundary=00032555b78ef2d0220478d36475 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.609 tagged_above=-10 required=5 tests=AWL=0.989, BAYES_00=-2.599, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200911/57 X-Sequence-Number: 10106 --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:
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?=A0=A0 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--