Thread: BUG #2247: Old Postgres driver

BUG #2247: Old Postgres driver

From
"Tatiana Gribanovskaia"
Date:
The following bug has been logged online:

Bug reference:      2247
Logged by:          Tatiana Gribanovskaia
Email address:      tatiana_g03@hotmail.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