X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7428F5282C for ; Sat, 9 Jul 2005 15:24:59 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 57795-04 for ; Sat, 9 Jul 2005 18:24:49 +0000 (GMT) Received: from vms040pub.verizon.net (vms040pub.verizon.net [206.46.252.40]) by svr1.postgresql.org (Postfix) with ESMTP id 46D6B5282F for ; Sat, 9 Jul 2005 15:24:48 -0300 (ADT) Received: from jfradkin ([66.15.127.235]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IJD001HFHSWDX9I@vms040.mailsrvcs.net> for pgsql-odbc@postgresql.org; Sat, 09 Jul 2005 13:24:33 -0500 (CDT) Date: Sat, 09 Jul 2005 14:25:25 -0400 From: "Joel Fradkin" Subject: Re: Problems with ODBC and ASP .NET 2.0 In-reply-to: <42CF1ABE.4040604@us.michelin.com> To: "'Greg Campbell'" , "'C Funky'" Cc: Message-id: <000001c584b3$93b6f2a0$797ba8c0@jfradkin> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: quoted-printable X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=2.806 tagged_above=0 required=5 tests=AWL, MSGID_DOLLARS X-Spam-Level: ** X-Archive-Number: 200507/14 X-Sequence-Number: 5480 I have heavy use of odbc because I am still asp 70% or so. I use npgsql for my .net stuff too. Pervasive is supposed to be updating the odbc driver in thee near future = (I hope it works as my app is crashing often and my clients are going to = drop us if I can not get this resolved). I am using the 7.4 drivers also because my data has Unicode (French) = chars and is stored in a SQLASCII data base. I have the conversion program = written and tested to get on a Unicode database and then I can try the 8.0 odbc drivers. Not sure where you turned on pooling and set the time out, I would be interested in that. I just got a Driver's SQLAllocHandle on = SQL_HANDLE_DBC failed error this morning. Joel Fradkin =20 Wazagua, Inc. 2520 Trailmate Dr Sarasota, Florida 34243 Tel. 941-753-7111 ext 305 =20 jfradkin@wazagua.com www.wazagua.com Powered by Wazagua Providing you with the latest Web-based technology & advanced tools. C 2004. WAZAGUA, Inc. All rights reserved. WAZAGUA, Inc This email message is for the use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized = review, use, disclosure or distribution is prohibited. If you are not the = intended recipient, please contact the sender by reply email and delete and = destroy all copies of the original message, including attachments. =20 =20 -----Original Message----- From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Greg Campbell Sent: Friday, July 08, 2005 8:31 PM To: C Funky Cc: pgsql-odbc@postgresql.org Subject: Re: [ODBC] Problems with ODBC and ASP .NET 2.0 Not too sure I can help you. After looking into what was available I decided to use the Npgsql=20 instead of ODBC. It is very much more ADO.NET centric. I have a app running for a couple of months continuous with moderate=20 load with nary a glitch. I trust pooling to work, so all my "connect - do something - drop=20 connection" are very short, and used a lot, natch. C Funky wrote: > Hi guys >=20 > I've got a ASP .NET application running on Windows Server 2003 > accessing Postgresql (version 8.0) through ODBC on the 7.4 drivers and > I've run into a bit of a problem. Under very light loads (a couple > connections per hour) the application works fine. However, as the load > increases, I start getting ODBC exceptions occasionally when the > application tries to open a new connection. The exception contains no > information other than something about being unable to determine the > driver version. When this error first started popping up I'd have to > restart the postmaster service for anything to work. Then, after > turning on ODBC connection pooling and setting a timeout of 10 s, I > could just wait a couple seconds, retry creating the connection and > everything would work fine. Does anyone out there have any idea why > this might be happening? I'm pretty new to Postgresql, so please > forgive me if this is something super obvious that I've just missed. >=20 > Thanks, > Chris >=20 > ---------------------------(end of = broadcast)--------------------------- > TIP 5: don't forget to increase your free space map settings