Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WrViO-0008EB-On for pgsql-odbc@arkaria.postgresql.org; Mon, 02 Jun 2014 17:08:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WrViO-0000Vl-6G for pgsql-odbc@arkaria.postgresql.org; Mon, 02 Jun 2014 17:08:04 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1WrJku-0002nZ-UD for pgsql-odbc@postgresql.org; Mon, 02 Jun 2014 04:21:52 +0000 Received: from blu004-omc3s16.hotmail.com ([65.55.116.91]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WrJkp-0007fa-DZ for pgsql-odbc@postgresql.org; Mon, 02 Jun 2014 04:21:51 +0000 Received: from BLU174-W51 ([65.55.116.74]) by BLU004-OMC3S16.hotmail.com with Microsoft SMTPSVC(7.5.7601.22701); Sun, 1 Jun 2014 21:21:44 -0700 X-TMN: [yeKj8rMfyuH93J+sKa0YeljG13OTdbZ+] X-Originating-Email: [denisemichele@outlook.com] Message-ID: Content-Type: multipart/alternative; boundary="_92af2381-3666-40ba-b740-74e3b651e2d8_" From: Denise McGrath To: Adrian Klaver , "pgsql-odbc@postgresql.org" Subject: Re: 126 Error Connecting With psqlODBC 32 bit Date: Sun, 1 Jun 2014 22:21:44 -0600 Importance: Normal In-Reply-To: <538BE18C.6020909@aklaver.com> References: <538B92D8.8060204@aklaver.com>,<538BE18C.6020909@aklaver.com> MIME-Version: 1.0 X-OriginalArrivalTime: 02 Jun 2014 04:21:44.0440 (UTC) FILETIME=[29501F80:01CF7E1A] X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org --_92af2381-3666-40ba-b740-74e3b651e2d8_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Well=2C guess what? After much pain=2C but absolutely worth it=2C I've got= ten it to work. It turns out that some postgre is compiled in C++ and with= Windows 2008=2C the C++ Redistributable is not installed by default. So I= installed this: http://www.microsoft.com/en-us/download/details.aspx?id=3D29 And now I am able to configure the 32bit postgreSQL Unicode driver on my se= rver=2C and of course I am also able to use it through my .asp page with co= nnection string: connstr=3D "Driver=3D{PostgreSQL UNICODE}=3BDATABASE=3Ddbname=3BServer=3Di= paddress=3BUID=3Duserid=3BPWD=3Dpassword=3B" I really hope this helps=2C and thanks to all who looked into it. Thanks again=2CDenise > Date: Sun=2C 1 Jun 2014 19:29:32 -0700 > From: adrian.klaver@aklaver.com > To: denisemichele@outlook.com=3B pgsql-odbc@postgresql.org > Subject: Re: [ODBC] 126 Error Connecting With psqlODBC 32 bit >=20 > On 06/01/2014 01:53 PM=2C Adrian Klaver wrote: > > On 05/22/2014 04:37 PM=2C Denise McGrath wrote: > >> Hi=2C > >> > >> I got your email from the faq page > >> http://psqlodbc.projects.pgfoundry.org/faq.html. I am having a really > >> difficult time setting up the 32 bit psqlodbc driver. I have the 9.3 > >> version of PostgreSQL. It downloaded the psqlodbc_09_03_0210-x64 > >> > >> and > >> that worked fine as far as connecting to the database through > >> pgAdminIII=2C but I need to use a 32 bit because I am running an asp p= age > >> that connects to the PostgreSQL 9.3 database. > >> > >> So I downloaded the psqlodbc_09_03_0210.zip > >> > >> latest > >> driver. > > > >> > >> "The setup routines for the PostgreSQL ANSI ODBC driver could not be > >> loaded due to system error code 126: The specified module could not be > >> found. (C:\Program Files (x86)\psqlODBC\0903\bin\psqlodbc35w.dll)." > >> > > > >> Is there anything else that I am missing? Please please help as I hav= e > >> working on this for almost a week with no luck and am completely > >> baffled :-( > > > > Anyone have an idea on what is going on here. I confirmed the error > > using a clean Windows Server 2008R2 AMI on AWS. I tried to add a 32bit > > DataSource and got the same error. >=20 > Well the previous comment was about psqlodbc_09_03_0210.zip. >=20 > With psqlodbc_09_03_0300-x64.zip I cannot even get it to install.=20 > Running Dependency Walker psqlodbc30a.dll shows several issues seen in=20 > the attached screenshot. >=20 > I see the same thing with psqlodbc_09_03_0300.zip >=20 > > > >> > >> Thanks! > >> Denise > > > > >=20 >=20 > --=20 > Adrian Klaver > adrian.klaver@aklaver.com = --_92af2381-3666-40ba-b740-74e3b651e2d8_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Well=2C guess what?  =3BAfte= r much pain=2C but absolutely worth it=2C I've gotten it to work.  =3BI= t turns out that some postgre is compiled in C++ and with Windows 2008=2C t= he C++ Redistributable is not installed by default.  =3BSo I installed = this:


And now I am able t= o configure the 32bit postgreSQL Unicode driver on my server=2C and of cour= se I am also able to use it through my .asp page with connection string:

connstr=3D  =3B"Driver=3D{PostgreSQL UNICOD= E}=3BDATABASE=3Ddbname=3BServer=3Dipaddress=3BUID=3Duserid=3BPWD=3Dpassword= =3B"

I really hope this helps=2C and thanks to all= who looked into it.

Thanks again=2C
Den= ise


>=3B Date: Sun=2C 1 Jun 2014 19:29:32 -0= 700
>=3B From: adrian.klaver@aklaver.com
>=3B To: denisemichele@o= utlook.com=3B pgsql-odbc@postgresql.org
>=3B Subject: Re: [ODBC] 126 E= rror Connecting With psqlODBC 32 bit
>=3B
>=3B On 06/01/2014 01:= 53 PM=2C Adrian Klaver wrote:
>=3B >=3B On 05/22/2014 04:37 PM=2C De= nise McGrath wrote:
>=3B >=3B>=3B Hi=2C
>=3B >=3B>=3B
= >=3B >=3B>=3B I got your email from the faq page
>=3B >=3B>= =3B http://psqlodbc.projects.pgfoundry.org/faq.html. I am having a really<= br>>=3B >=3B>=3B difficult time setting up the 32 bit psqlodbc driver= . I have the 9.3
>=3B >=3B>=3B version of PostgreSQL. It downlo= aded the psqlodbc_09_03_0210-x64
>=3B >=3B>=3B <=3Bhttp://ftp.po= stgresql.org/pub/odbc/versions/msi/psqlodbc_09_03_0210-x64.zip>=3B
>= =3B >=3B>=3B and
>=3B >=3B>=3B that worked fine as far as conn= ecting to the database through
>=3B >=3B>=3B pgAdminIII=2C but I n= eed to use a 32 bit because I am running an asp page
>=3B >=3B>=3B= that connects to the PostgreSQL 9.3 database.
>=3B >=3B>=3B
&g= t=3B >=3B>=3B So I downloaded the psqlodbc_09_03_0210.zip
>=3B >= =3B>=3B <=3Bhttp://ftp.postgresql.org/pub/odbc/versions/msi/psqlodbc_09= _03_0210-x64.zip>=3B
>=3B >=3B>=3B latest
>=3B >=3B>=3B= driver.
>=3B >=3B
>=3B >=3B>=3B
>=3B >=3B>=3B "Th= e setup routines for the PostgreSQL ANSI ODBC driver could not be
>=3B= >=3B>=3B loaded due to system error code 126: The specified module cou= ld not be
>=3B >=3B>=3B found. (C:\Program Files (x86)\psqlODBC\09= 03\bin\psqlodbc35w.dll)."
>=3B >=3B>=3B
>=3B >=3B
>=3B= >=3B>=3B Is there anything else that I am missing? Please please help= as I have
>=3B >=3B>=3B working on this for almost a week with no= luck and am completely
>=3B >=3B>=3B baffled :-(
>=3B >=3B=
>=3B >=3B Anyone have an idea on what is going on here. I confirmed= the error
>=3B >=3B using a clean Windows Server 2008R2 AMI on AWS.= I tried to add a 32bit
>=3B >=3B DataSource and got the same error.=
>=3B
>=3B Well the previous comment was about psqlodbc_09_03_0= 210.zip.
>=3B
>=3B With psqlodbc_09_03_0300-x64.zip I cannot eve= n get it to install.
>=3B Running Dependency Walker psqlodbc30a.dll s= hows several issues seen in
>=3B the attached screenshot.
>=3B <= br>>=3B I see the same thing with psqlodbc_09_03_0300.zip
>=3B
&= gt=3B >=3B
>=3B >=3B>=3B
>=3B >=3B>=3B Thanks!
>= =3B >=3B>=3B Denise
>=3B >=3B
>=3B >=3B
>=3B
>= =3B
>=3B --
>=3B Adrian Klaver
>=3B adrian.klaver@aklaver.= com
= --_92af2381-3666-40ba-b740-74e3b651e2d8_--