pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedConnecting to Postgresql from PowerBuilder 9.0 using OLE-DB
5+ messages / 3 participants
[nested] [flat]
* Connecting to Postgresql from PowerBuilder 9.0 using OLE-DB
@ 2014-01-18 01:47 victor@maintstar.com
0 siblings, 0 replies; 5+ messages in thread
From: victor@maintstar.com @ 2014-01-18 01:47 UTC (permalink / raw)
To: pgsql-odbc
Hi,
I need to connect to Postgresql using PowerBuilder 9.0.
Using OLE-DB:
On Windows XP, in PowerBuilder 9.0, use the Database Painter and try to connect as follows:
// Profile PGOLEDB
SQLCA.DBMS = "OLE DB"
SQLCA.LogPass = <******>
SQLCA.LogId = "sierra"
SQLCA.AutoCommit = False
SQLCA.DBParm = "PROVIDER='PostgreSQL Native Provider (BI Alias)',DATASOURCE='localhost',PROVIDERSTRING='InitialCatalog='SierraOne''"
On the Preview tab, click the "Test Connection" button.
It blows up with:
"pb90.exe - Entry Point Not Found"
"The procedure entry point InitializeCriticalSectionEx could not be located in the dynamic link library KERNEL32.dll."
Any suggestions? All my users are on Windows XP.
I did a Google search, and found there was a bug in Visual Studio 2012 which caused this issue.
I am using pgAdmin 1.16.1 and PostgreSQL 9.2
Sincerely,
Victor Reinhart
^ permalink raw reply [nested|flat] 5+ messages in thread
* Connecting to Postgresql from PowerBuilder 9.0 using ODBC
@ 2014-01-18 01:58 victor@maintstar.com
2014-01-20 23:43 ` Re: Connecting to Postgresql from PowerBuilder 9.0 using ODBC Inoue, Hiroshi <inoue@tpf.co.jp>
0 siblings, 1 reply; 5+ messages in thread
From: victor@maintstar.com @ 2014-01-18 01:58 UTC (permalink / raw)
To: pgsql-odbc
Hi,
I did this from WIndows XP:
Start, Control Panel, Administrative Tools, Data Sources (ODBC), click "Add" to create a new User DSN, click "PostgreSQL ANSI", and click "Finish".
This message appears:
"odbad32.exe - Bad Image"
"The application or DLL C:\Program Files\psqlODBC\0901\bin\libpq.dll is not a valid Windows image. Please check this against your installation diskette."
What can I do? Is this expected?
After this, the window titled "PostgreSQL ANSI ODBC Driver (psqlODBC) Setup" appears.
I set it up, and click "Test", and get "Connection successful".
I can see the data in PowerBuilder, but there are many errors when running the Pipeline Painter. I will provide details later.
Sincerely,
Victor Reinhart
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Connecting to Postgresql from PowerBuilder 9.0 using ODBC
2014-01-18 01:58 Connecting to Postgresql from PowerBuilder 9.0 using ODBC victor@maintstar.com
@ 2014-01-20 23:43 ` Inoue, Hiroshi <inoue@tpf.co.jp>
0 siblings, 0 replies; 5+ messages in thread
From: Inoue, Hiroshi @ 2014-01-20 23:43 UTC (permalink / raw)
To: victor@maintstar.com; pgsql-odbc
Hi Victor,
Please try the latest driver.
regrads,
Hiroshi Inoue
(2014/01/18 10:58), victor@maintstar.com wrote:
> Hi,
> I did this from WIndows XP:
> Start, Control Panel, Administrative Tools, Data Sources (ODBC), click
> "Add" to create a new User DSN, click "PostgreSQL ANSI", and click "Finish".
> This message appears:
> "odbad32.exe - Bad Image"
> "The application or DLL C:\Program Files\psqlODBC\0901\bin\libpq.dll is
> not a valid Windows image. Please check this against your installation
> diskette."
> What can I do? Is this expected?
> After this, the window titled "PostgreSQL ANSI ODBC Driver (psqlODBC)
> Setup" appears.
> I set it up, and click "Test", and get "Connection successful".
> I can see the data in PowerBuilder, but there are many errors when
> running the Pipeline Painter. I will provide details later.
> Sincerely,
> Victor Reinhart
--
I am using the free version of SPAMfighter.
SPAMfighter has removed 3035 of my spam emails to date.
Get the free SPAMfighter here: http://www.spamfighter.com/len
Do you have a slow PC? Try a Free scan
http://www.spamfighter.com/SLOW-PCfighter?cid=sigen
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Connecting to Postgresql from PowerBuilder 9.0 using ODBC
@ 2014-01-18 21:40 victor@maintstar.com
2014-01-18 22:53 ` Re: Connecting to Postgresql from PowerBuilder 9.0 using ODBC Adrian Klaver <adrian.klaver@gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: victor@maintstar.com @ 2014-01-18 21:40 UTC (permalink / raw)
To: pgsql-odbc
Hi Michael,
I tried with "PostgreSQL UNICODE".
The same message appears:
Start, Control Panel, Administrative Tools, Data Sources (ODBC), click "Add" to create a new User DSN, click "PostgreSQL ANSI", and click "Finish".
This message appears:
"odbad32.exe - Bad Image"
"The application or DLL C:\Program Files\psqlODBC\0901\bin\libpq.dll is not a valid Windows image. Please check this against your installation diskette."
Sincerely,
Victor Reinhart
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Connecting to Postgresql from PowerBuilder 9.0 using ODBC
2014-01-18 21:40 Re: Connecting to Postgresql from PowerBuilder 9.0 using ODBC victor@maintstar.com
@ 2014-01-18 22:53 ` Adrian Klaver <adrian.klaver@gmail.com>
0 siblings, 0 replies; 5+ messages in thread
From: Adrian Klaver @ 2014-01-18 22:53 UTC (permalink / raw)
To: victor@maintstar.com; pgsql-odbc
On 01/18/2014 01:40 PM, victor@maintstar.com wrote:
> Hi Michael,
> I tried with "PostgreSQL UNICODE".
> The same message appears:
> Start, Control Panel, Administrative Tools, Data Sources (ODBC), click
> "Add" to create a new User DSN, click "PostgreSQL ANSI", and click "Finish".
> This message appears:
> "odbad32.exe - Bad Image"
> "The application or DLL C:\Program Files\psqlODBC\0901\bin\libpq.dll is
> not a valid Windows image. Please check this against your installation
> diskette."
You did not say what the 32/64 bit status of your version of Windows is
or the 32/64 status of the psqlodbc driver you are using. This can be
confusing when installing.
See the FAQ item below for more information:
http://psqlodbc.projects.pgfoundry.org/faq.html#6.8
> Sincerely,
> Victor Reinhart
--
Adrian Klaver
adrian.klaver@gmail.com
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2014-01-20 23:43 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-01-18 01:47 Connecting to Postgresql from PowerBuilder 9.0 using OLE-DB victor@maintstar.com
2014-01-18 01:58 Connecting to Postgresql from PowerBuilder 9.0 using ODBC victor@maintstar.com
2014-01-20 23:43 ` Re: Connecting to Postgresql from PowerBuilder 9.0 using ODBC Inoue, Hiroshi <inoue@tpf.co.jp>
2014-01-18 21:40 Re: Connecting to Postgresql from PowerBuilder 9.0 using ODBC victor@maintstar.com
2014-01-18 22:53 ` Re: Connecting to Postgresql from PowerBuilder 9.0 using ODBC Adrian Klaver <adrian.klaver@gmail.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox