Skip site navigation (1) Skip section navigation (2)

BUG #2247: Old Postgres driver

From: "Tatiana Gribanovskaia" <tatiana_g03(at)hotmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2247: Old Postgres driver
Date: 2006-02-08 16:50:36
Message-ID: 20060208165036.0C279F0AC7@svr2.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
The following bug has been logged online:

Bug reference:      2247
Logged by:          Tatiana Gribanovskaia
Email address:      tatiana_g03(at)hotmail(dot)com
PostgreSQL version: 8
Operating system:   Linux
Description:        Old Postgres driver
Details: 

We have a website which is running on Postgres 8 database and using Postgres
SQL + Unicode (Beta) 7.02.00.02

The website is actually using an ODBC driver for database access.

The website crashes pretty often with the following error below. We are
trying to determine if the ODBC driver usage along with the postgres one is
causing this :

ERROR [IM005] [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on
SQL_HANDLE_DBC failed 
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it originated in the code. 

Exception Details: Microsoft.Data.Odbc.OdbcException: ERROR [IM005]
[Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_DBC
failed

Source Error: 

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below. 

Stack Trace: 


[OdbcException: ERROR [IM005] [Microsoft][ODBC Driver Manager] Driver's
SQLAllocHandle on SQL_HANDLE_DBC failed]
Microsoft.Data.Odbc.OdbcConnection.Open() +646
PC.Framework.Web.Globals.get_IsIrMode() +183
PC.Web.User.Default.Page_Load(Object sender, EventArgs e) +639
System.EventHandler.Invoke(Object sender, EventArgs e) +0
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +750


We are looking into using a Postgres driver only. I will appreciate your
suggestions and comments on this problem.

Thanks,
Tatiana

pgsql-bugs by date

Next:From: Kalador Tech SupportDate: 2006-02-08 17:52:33
Subject: Re: BUG #2236: extremely slow to get unescaped bytea data
Previous:From: Alvaro HerreraDate: 2006-02-08 13:46:59
Subject: Re: BUG #2246: Bad malloc interactions: ecpg, openssl

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group