logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

Problem with ODBC, ERROR - no error information is available: msg#00072

db.postgresql.odbc

Subject: Problem with ODBC, ERROR - no error information is available

Hi - I'm using ASP.NET to write an app that's talking to a Postgres back end through ODBC.
 
It's been working pretty well, except that lately I run into this problem when trying to open a connection.
 
I get an error exception thrown by the .NET framework's OdbcConnection clsas, with no information about the error.
 
I turned on logging, and when the error was happening, this is what was there:
 
[884]CONN ERROR: func=PGAPI_GetInfo30, desc='', errnum=209, errmsg='Unrecognized key passed to SQLGetInfo30.'
[884]CONN ERROR: func=SQLGetInfo30, desc='', errnum=209, errmsg='Unrecognized key passed to SQLGetInfo30.'
 
I determined from the ODBC log that the unrecognized key is SQL_DTC_TRANSITION_COST.
 
Anyone seen this?  I don't know why it's only asking for SQL_DTC_TRANSITION_COST in some situations and not others.. seems like supporting this in SQLGetInfo30 would be a reasonable fix but I'm not sure why it's happening at all.  I was playing with the connection pooling settings, maybe that's what started it, but I turned that back off and even still it only happens occasionally (but once it starts happening, it keeps happening until I restart the ASP.NET worker process).
 
Thanks
--
Steve Tibbett
 
 
 

Attachment: Steve Tibbett.vcf
Description: Steve Tibbett.vcf


---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html
<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo