pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Problem using ODBC from .NET framework
6+ messages / 2 participants
[nested] [flat]

* Problem using ODBC from .NET framework
@ 2006-02-08 15:12 Shelby Cain <alyandon@yahoo.com>
  2006-02-09 06:16 ` Re: Problem using ODBC from .NET framework Ludek Finstrle <luf@pzkagis.cz>
  0 siblings, 1 reply; 6+ messages in thread

From: Shelby Cain @ 2006-02-08 15:12 UTC (permalink / raw)
  To: pgsql-odbc

Apologies for re-posting... I fat-fingered the odbc list address :-/

Hi all.  I having an issue with the 8.01.01.02 ODBC driver that is
installed via the 8.1.x Windows installer.

Whenever there is an error on the connection (eg: trying to execute a
sql statement that has a syntax error as an example) the
System.Data.OdbcConnection object throws an exception - which is
entirely expected.  However, the error message returned is "The
connection is dead".  I have to go into the postgresql log files to try
and locate the actual error.

The same code used to work (meaning it returned the text of the
postgresql error message in the exception) for me with 8.0.x so I'm
kind of at a loss as to what has changed that would cause this
behavior.  

Anyone have any ideas whats going on or how I can get back to the 8.0.x

behavior?

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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

* Re: Problem using ODBC from .NET framework
  2006-02-08 15:12 Problem using ODBC from .NET framework Shelby Cain <alyandon@yahoo.com>
@ 2006-02-09 06:16 ` Ludek Finstrle <luf@pzkagis.cz>
  2006-02-09 15:04   ` Re: [ODBC] Problem using ODBC from .NET framework Shelby Cain <alyandon@yahoo.com>
  2006-02-09 15:53   ` Re: [ODBC] Problem using ODBC from .NET framework Shelby Cain <alyandon@yahoo.com>
  0 siblings, 2 replies; 6+ messages in thread

From: Ludek Finstrle @ 2006-02-09 06:16 UTC (permalink / raw)
  To: Shelby Cain <alyandon@yahoo.com>; +Cc: pgsql-odbc

> Hi all.  I having an issue with the 8.01.01.02 ODBC driver that is
> installed via the 8.1.x Windows installer.

...

> Anyone have any ideas whats going on or how I can get back to the 8.0.x
> behavior?

There is newer 08.01 psqlODBC version. Please try the 08.01.0200 version.
We provide a lot of changes (including error reporting).

Feel free to re-post the message if 08.01.0200 is still boken. I'll
appreciate if you include mylog output (from 08.01.0200 driver).

Regards,

Luf



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

* Re: [ODBC] Problem using ODBC from .NET framework
  2006-02-08 15:12 Problem using ODBC from .NET framework Shelby Cain <alyandon@yahoo.com>
  2006-02-09 06:16 ` Re: Problem using ODBC from .NET framework Ludek Finstrle <luf@pzkagis.cz>
@ 2006-02-09 15:04   ` Shelby Cain <alyandon@yahoo.com>
  1 sibling, 0 replies; 6+ messages in thread

From: Shelby Cain @ 2006-02-09 15:04 UTC (permalink / raw)
  To: Ludek Finstrle <luf@pzkagis.cz>; +Cc: pgsql-odbc; pgsql-general <pgsql-general@postgresql.org>



--- Ludek Finstrle <luf@pzkagis.cz> wrote:

> > Hi all.  I having an issue with the 8.01.01.02 ODBC driver that is
> > installed via the 8.1.x Windows installer.
> 
> ...
> 
> > Anyone have any ideas whats going on or how I can get back to the
> 8.0.x
> > behavior?
> 
> There is newer 08.01 psqlODBC version. Please try the 08.01.0200
> version.
> We provide a lot of changes (including error reporting).
> 
> Feel free to re-post the message if 08.01.0200 is still boken. I'll
> appreciate if you include mylog output (from 08.01.0200 driver).
> 
> Regards,
> 
> Luf
> 

Thanks.  I'll try the new version out and let you know.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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

* Re: [ODBC] Problem using ODBC from .NET framework
  2006-02-08 15:12 Problem using ODBC from .NET framework Shelby Cain <alyandon@yahoo.com>
  2006-02-09 06:16 ` Re: Problem using ODBC from .NET framework Ludek Finstrle <luf@pzkagis.cz>
@ 2006-02-09 15:53   ` Shelby Cain <alyandon@yahoo.com>
  2006-02-10 10:24     ` Re: Problem using ODBC from .NET framework Ludek Finstrle <luf@pzkagis.cz>
  1 sibling, 1 reply; 6+ messages in thread

From: Shelby Cain @ 2006-02-09 15:53 UTC (permalink / raw)
  To: Ludek Finstrle <luf@pzkagis.cz>; +Cc: pgsql-odbc; pgsql-general <pgsql-general@postgresql.org>

--- Ludek Finstrle <luf@pzkagis.cz> wrote:

> Feel free to re-post the message if 08.01.0200 is still boken. I'll
> appreciate if you include mylog output (from 08.01.0200 driver).
> 

Using 08.01.0200, I'm still receiving the same error.  However, I've
managed to narrow the case when it happens down a bit.  I only receive
the "The connection is dead" error when an error occurs after I've
explicitly defined a transaction via ADO.Net's
OdbcConnection.BeginTransaction() function.

I'd be happy to send you a small C# test case in if you wish.

Regards,

Shelby Cain

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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

* Re: Problem using ODBC from .NET framework
  2006-02-08 15:12 Problem using ODBC from .NET framework Shelby Cain <alyandon@yahoo.com>
  2006-02-09 06:16 ` Re: Problem using ODBC from .NET framework Ludek Finstrle <luf@pzkagis.cz>
  2006-02-09 15:53   ` Re: [ODBC] Problem using ODBC from .NET framework Shelby Cain <alyandon@yahoo.com>
@ 2006-02-10 10:24     ` Ludek Finstrle <luf@pzkagis.cz>
  2006-02-10 15:27       ` Re: Problem using ODBC from .NET framework Shelby Cain <alyandon@yahoo.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Ludek Finstrle @ 2006-02-10 10:24 UTC (permalink / raw)
  To: Shelby Cain <alyandon@yahoo.com>; +Cc: Ludek Finstrle <luf@pzkagis.cz>; pgsql-odbc

> > Feel free to re-post the message if 08.01.0200 is still boken. I'll
> > appreciate if you include mylog output (from 08.01.0200 driver).
> 
> Using 08.01.0200, I'm still receiving the same error.  However, I've
> managed to narrow the case when it happens down a bit.  I only receive
> the "The connection is dead" error when an error occurs after I've
> explicitly defined a transaction via ADO.Net's
> OdbcConnection.BeginTransaction() function.

Interesting. I see no such call in ODBC.

> I'd be happy to send you a small C# test case in if you wish.

It would be the shortest way for me.

Thanks,

Luf



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

* Re: Problem using ODBC from .NET framework
  2006-02-08 15:12 Problem using ODBC from .NET framework Shelby Cain <alyandon@yahoo.com>
  2006-02-09 06:16 ` Re: Problem using ODBC from .NET framework Ludek Finstrle <luf@pzkagis.cz>
  2006-02-09 15:53   ` Re: [ODBC] Problem using ODBC from .NET framework Shelby Cain <alyandon@yahoo.com>
  2006-02-10 10:24     ` Re: Problem using ODBC from .NET framework Ludek Finstrle <luf@pzkagis.cz>
@ 2006-02-10 15:27       ` Shelby Cain <alyandon@yahoo.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Shelby Cain @ 2006-02-10 15:27 UTC (permalink / raw)
  To: Ludek Finstrle <luf@pzkagis.cz>; +Cc: Ludek Finstrle <luf@pzkagis.cz>; pgsql-odbc



--- Ludek Finstrle <luf@pzkagis.cz> wrote:

> > I'd be happy to send you a small C# test case in if you wish.
> 
> It would be the shortest way for me.
> 

Sent offlist.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 



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


end of thread, other threads:[~2006-02-10 15:27 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-02-08 15:12 Problem using ODBC from .NET framework Shelby Cain <alyandon@yahoo.com>
2006-02-09 06:16 ` Ludek Finstrle <luf@pzkagis.cz>
2006-02-09 15:04   ` Shelby Cain <alyandon@yahoo.com>
2006-02-09 15:53   ` Shelby Cain <alyandon@yahoo.com>
2006-02-10 10:24     ` Ludek Finstrle <luf@pzkagis.cz>
2006-02-10 15:27       ` Shelby Cain <alyandon@yahoo.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