pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
ODBC problem
8+ messages / 8 participants
[nested] [flat]

* ODBC problem
@ 2002-01-14 20:06  Graeme Leeming <gleeming@refractions.net>
  0 siblings, 1 reply; 8+ messages in thread

From: Graeme Leeming @ 2002-01-14 20:06 UTC (permalink / raw)
  To: bugs@safe.com; pgsql-odbc

I have upgraded to build 537 of FME on WinNT and am trying to connect to
a Postgresql database through ODBC (this has worked properly with build
519 and PSQLodbc v7.01.00.05/6).  The error message I get back from the
translator is:

"[NOTSUPPORTED] The specified ODBC Data Source uses an ODBC driver which
conforms to an ODBC specification prior to the 3.0 specification.  This
driver version is not supported by DBTools.h++.  Please upgrade to a
newer driver.' (VendorMessage1=`', VendorMessage2=`')"

I tried using the latest version of PSQLODBC I could find, 7.01.00.09,
but still the same error occurs.  Since I don't know what the 3.0
specification entails, is there a way around this apparent limitation
now imposed by the new build of FME, and/or is a 3.0 compliant ODBC
driver available or planned for Postgres?

Graeme Leeming
Refractions Research Inc.




^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: ODBC problem
@ 2002-01-18 22:37  Hiroshi Inoue <Inoue@tpf.co.jp>
  parent: Graeme Leeming <gleeming@refractions.net>
  0 siblings, 0 replies; 8+ messages in thread

From: Hiroshi Inoue @ 2002-01-18 22:37 UTC (permalink / raw)
  To: Graeme Leeming <gleeming@refractions.net>; +Cc: bugs@safe.com; pgsql-odbc

> -----Original Message-----
> From: Graeme Leeming
> 
> I have upgraded to build 537 of FME on WinNT and am trying to connect to
> a Postgresql database through ODBC (this has worked properly with build
> 519 and PSQLodbc v7.01.00.05/6).  The error message I get back from the
> translator is:
> 
> "[NOTSUPPORTED] The specified ODBC Data Source uses an ODBC driver which
> conforms to an ODBC specification prior to the 3.0 specification.  This
> driver version is not supported by DBTools.h++.  Please upgrade to a
> newer driver.' (VendorMessage1=`', VendorMessage2=`')"
> 
> I tried using the latest version of PSQLODBC I could find, 7.01.00.09,
> but still the same error occurs.  Since I don't know what the 3.0
> specification entails, is there a way around this apparent limitation
> now imposed by the new build of FME, and/or is a 3.0 compliant ODBC
> driver available or planned for Postgres?

There are some code for ODBC 3.0 but I couldn't guarantee when 
it would be ready. At least I could send you the halfway driver if 
you'd like to see how far it is from your requirement.

regards,
Hiroshi Inoue



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* ODBC Problem
@ 2005-08-11 10:09  Ankur kashyap <kashyap_ankur@yahoo.com>
  0 siblings, 0 replies; 8+ messages in thread

From: Ankur kashyap @ 2005-08-11 10:09 UTC (permalink / raw)
  To: pgsql-odbc

Hi,

I am very new to PostgreSQL. I have Downloaded the
version 8.0.3 and have been trying to connect database
from one of my visual basic application.

The installation was successful and pgADMIN is working
fine. So, I created the 32-bit System DSN and each
time I try to connect to database, ADO fails, and I
get an error message, error occured while driver
initialization.

Can you please suggest some solutions? Do I need to
make any change in pg_hba.conf file?

Hoping to get a response.

Regards,
Ankur Kashyap


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: ODBC Problem
@ 2005-08-24 09:25  Anoop Kumar <anoopk@pervasive-postgres.com>
  0 siblings, 0 replies; 8+ messages in thread

From: Anoop Kumar @ 2005-08-24 09:25 UTC (permalink / raw)
  To: Ankur kashyap <kashyap_ankur@yahoo.com>; pgsql-odbc

Hi Ankur,

Are you accessing the PostgreSQL server from the same machine, or your
VB program is running on another machine? If your client is in another
machine you might need to get it authenticated by creating an entry in
PG_HBA.CONF. The problem does not look like it's related to PG_HBA.CONF
because PgAdmin III is working properly.

BTW, did you use the windows installer? If possible provide the code
where exactly you are getting the error. Also check whether the ODBC
driver was installed properly, and check the ADO connection String.

Regards

Anoop

> -----Original Message-----
> From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-
> owner@postgresql.org] On Behalf Of Ankur kashyap
> Sent: Thursday, August 11, 2005 3:40 PM
> To: pgsql-odbc@postgresql.org
> Subject: [ODBC] ODBC Problem
> 
> Hi,
> 
> I am very new to PostgreSQL. I have Downloaded the
> version 8.0.3 and have been trying to connect database
> from one of my visual basic application.
> 
> The installation was successful and pgADMIN is working
> fine. So, I created the 32-bit System DSN and each
> time I try to connect to database, ADO fails, and I
> get an error message, error occured while driver
> initialization.
> 
> Can you please suggest some solutions? Do I need to
> make any change in pg_hba.conf file?
> 
> Hoping to get a response.
> 
> Regards,
> Ankur Kashyap
> 
> 
> 
> ____________________________________________________
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs
> 
> 
> ---------------------------(end of
broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
>        choose an index scan if your joining column's datatypes do not
>        match



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Odbc Problem
@ 2005-10-13 18:45  Carl Hewitt <hewittcarl@hotmail.com>
  0 siblings, 0 replies; 8+ messages in thread

From: Carl Hewitt @ 2005-10-13 18:45 UTC (permalink / raw)
  To: pgsql-odbc

I cannot connect remotely to my postgresql server......
I am using 2 Xp computer.  connection is successful on the localhost however 
not from my client machine
any help will be greatly appreciated

Thanks
Carl





^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: Odbc Problem
@ 2005-10-13 22:22  doggie tame <tame_doggie@yahoo.com>
  0 siblings, 0 replies; 8+ messages in thread

From: doggie tame @ 2005-10-13 22:22 UTC (permalink / raw)
  To: hewittcarl@hotmail.com; +Cc: pgsql-odbc

did you add an entry in pg_hba.conf? which located in
<postgres_root>/data. For example, on my xp box, it's
c:\program files/postgreSQL/8.1-beta2/data.

add an entry under the "# IPv4 local connections:",
there should be one entry there for the localhost and
you can copy that line and just change the host. For
example, on my box, it looks like:


# IPv4 local connections:
host    all         all         127.0.0.1/32         
md5
host    all         all         10.3.157.30/32       
md5

then restart posgres and try again.

===========
tame doggie


		
__________________________________ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free.
http://music.yahoo.com/unlimited/



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* ODBC Problem
@ 2010-10-23 00:48  murillomarco@sigmahn.com
  0 siblings, 1 reply; 8+ messages in thread

From: murillomarco@sigmahn.com @ 2010-10-23 00:48 UTC (permalink / raw)
  To: pgsql-odbc

Hello,

I'm a VFP - PostgreSQL Developer and I have the following problem when I
try to connect to my PostgreSQL Database:

ODBC Driver Version: psqlODBC_x64_8.3.4.0
PostgreSQL Version: 9.0.1-1
OS: Windows 7 Home Premium

The error reads something like this:
Error Message:1526
Connectivity Error:[Microsoft][Controller Administrator ODBC]
Data Source name not found and no predetermined controller was specified.

The string I'm sending to the server contains:
"DRIVER={PostgreSQL
ANSI};SERVER=localhost;port=5432:DATABASE=cabletv;UID=cabletvusr;PWD=pcabletvsuperg;"

That's pratically it, please help me out with this, I'm stucked wiht my
project.


Thanks in advance.



Marco Murillo.

Attachments:

  mylog_6856.log (application/octet-stream, 8.3K) download

^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* Re: ODBC Problem
@ 2010-10-23 03:03  Richard Broersma <richard.broersma@gmail.com>
  parent: murillomarco@sigmahn.com
  0 siblings, 0 replies; 8+ messages in thread

From: Richard Broersma @ 2010-10-23 03:03 UTC (permalink / raw)
  To: murillomarco@sigmahn.com <murillomarco@sigmahn.com>; +Cc: pgsql-odbc





On Oct 22, 2010, at 5:48 PM, murillomarco@sigmahn.com wrote:

> The error reads something like this:
> Error Message:1526
> Connectivity Error:[Microsoft][Controller Administrator ODBC]
> Data Source name not found and no predetermined controller was specified.
> 
> The string I'm sending to the server contains:
> "DRIVER={PostgreSQL
> ANSI};SERVER=localhost;port=5432:DATABASE=cabletv;UID=cabletvusr;PWD=pcabletvsuperg;"

I'm going to give my best guess.  There were times when I upgraded the odbc driver where the driver name changes between versions.  Applications like ms-access and excel will store odbc connection properties in the registry.  Since the driver names changed, all of existing data sources connections would fail with an error message very similar to the one your getting.

By driver name I mean: DRIVER={PostgreSQL ANSI};

To fix the problem, I needed to find the affected pre-existing registry entries to update the driver name to match the name of the newly installed driver.

On a side note, why do you use the ANSI driver instead of the Unicode driver?

Sent from my iPod=

^ permalink  raw  reply  [nested|flat] 8+ messages in thread


end of thread, other threads:[~2010-10-23 03:03 UTC | newest]

Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-01-14 20:06 ODBC problem Graeme Leeming <gleeming@refractions.net>
2002-01-18 22:37 ` Hiroshi Inoue <Inoue@tpf.co.jp>
2005-08-11 10:09 ODBC Problem Ankur kashyap <kashyap_ankur@yahoo.com>
2005-08-24 09:25 Re: ODBC Problem Anoop Kumar <anoopk@pervasive-postgres.com>
2005-10-13 18:45 Odbc Problem Carl Hewitt <hewittcarl@hotmail.com>
2005-10-13 22:22 Re: Odbc Problem doggie tame <tame_doggie@yahoo.com>
2010-10-23 00:48 ODBC Problem murillomarco@sigmahn.com
2010-10-23 03:03 ` Re: ODBC Problem Richard Broersma <richard.broersma@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