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 4976F3B350B for ; Thu, 23 Dec 2004 16:45:32 +0000 (GMT) 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 83544-09 for ; Thu, 23 Dec 2004 16:45:24 +0000 (GMT) Received: from pd7mo3no.prod.shaw.ca (idcmail-mo2no.cg.shawcable.net [64.59.134.9]) by svr1.postgresql.org (Postfix) with ESMTP id 846C73B3517 for ; Thu, 23 Dec 2004 16:45:24 +0000 (GMT) Received: from pd6mr8no.prod.shaw.ca (pd6mr8no-qfe2.prod.shaw.ca [10.0.144.221]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I96000I1P7N9M90@l-daemon> for pgsql-odbc@postgresql.org; Thu, 23 Dec 2004 09:45:23 -0700 (MST) Received: from pn7ml4no.prod.shaw.ca ([10.0.149.113]) by pd6mr8no.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0I9600EZ0P7NU4F0@pd6mr8no.prod.shaw.ca> for pgsql-odbc@postgresql.org; Thu, 23 Dec 2004 09:45:23 -0700 (MST) Received: from Dell4500 (S01060004236fc1f7.wp.shawcable.net [24.77.13.13]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.18 (built Jul 28 2003)) with SMTP id <0I9600404P7IE7@l-daemon> for pgsql-odbc@postgresql.org; Thu, 23 Dec 2004 09:45:23 -0700 (MST) Date: Thu, 23 Dec 2004 10:45:43 -0600 From: George Weaver Subject: Problems with Beta 5 and odbc driver 8.00.00.02 To: pgsql-odbc@postgresql.org Message-id: <008701c4e90e$da4d4ed0$6400a8c0@Dell4500> MIME-version: 1.0 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Mailer: Microsoft Outlook Express 6.00.2900.2180 Content-type: text/plain; reply-type=original; charset=iso-8859-1; format=flowed Content-transfer-encoding: 7bit X-Priority: 3 X-MSMail-priority: Normal X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.735 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST, FORGED_RCVD_HELO X-Spam-Level: * X-Archive-Number: 200412/56 X-Sequence-Number: 4790 Hi, I have run into a problem with psqlodbc version 8.00.00.02 testing Beta 5 using an existing application on XP. The application was developed in VB.NET and uses PostgreSQL as the backend, connecting via psqlodbc. It was built and runs fine on 7.3.4 via Cygwin on XP and Server 2000 using psqlodbc version 7.02.00.05. The testing has been with psqlodbc version 8.00.00.02 that installs with Beta 5. The application has a number of user input forms that make extensive use of dropdown combo boxes populated from tables in the database (one form has 8 combo boxes, another 15, and another over 20). The boxes are populated via a query sent to the database. A connection is opened to the database, the query executed, the data returned, and the connection closed. This process occurs for each combobox in order. When I run the application through the IDE in .NET there are no problems. In fact, the speed of retrieval is remarkably enhanced compared to 7.3.4. A form that used to take 7 seconds plus to load now loads in 2 seconds or less! However when I run from the .exe version directly I get an inconsistent problem that results in Windows having to shut down the application. The problem occurs when a form is populating the combo boxes while loading. Most times the forms load without problem. At other times I encounter the Microsoft "Test.exe has encountered a problem and needs to close..." dialog box. All data access processes occur within Try - Catch structures, but they are not trapping the problem. The database log shows: 2004-12-20 10:11:12 LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 2004-12-20 10:11:12 LOG: unexpected EOF on client connection 2004-12-20 10:11:12 LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 2004-12-20 10:11:12 LOG: unexpected EOF on client connection 2004-12-20 10:11:12 LOG: could not receive data from client: No connection could be made because the target machine actively refused it. 2004-12-20 10:11:12 LOG: unexpected EOF on client connection The Windows event log shows two errors for each of the above occurrences: Event Type: Error Event Source: Application Error ... Description: Faulting application test.exe, version 1.0.1813.27448, faulting module psqlodbc.dll, version 8.0.0.2, fault address 0x0002001f. Event Type: Error Event Source: COM+ ... Description: The system has called a custom component and that component has failed and generated an exception. This indicates a problem with the custom component. Notify the developer of this component that a failure has occurred and provide them with the information below. Component Prog ID: 0[ODBC][C:\WINDOWS\System32\psqlodbc.dll] Method Name: IDispenserDriver::CreateResource Process Name: test.exe Exception: C0000005 Address: 0x0366001F Call Stack: psqlodbc!SQLGetDiagFieldW + 0x29F I can forward a copy of the commlog file if that would be useful. I am connecting via a DSN connnection using the default parameters for the driver. Is this likely a problem with the driver or is it something I may be able to correct with differenct connection string settings? Thanks, George Weaver