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 4A4B952EB7 for ; Tue, 26 Jul 2005 11:12:24 -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 17858-09 for ; Tue, 26 Jul 2005 14:12:21 +0000 (GMT) Received: from vms044pub.verizon.net (vms044pub.verizon.net [206.46.252.44]) by svr1.postgresql.org (Postfix) with ESMTP id C16E752E80 for ; Tue, 26 Jul 2005 11:12:20 -0300 (ADT) Received: from jfradkin ([66.15.127.235]) by vms044.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IK8000INNGIRZ2J@vms044.mailsrvcs.net> for pgsql-odbc@postgresql.org; Tue, 26 Jul 2005 09:12:18 -0500 (CDT) Date: Tue, 26 Jul 2005 10:13:41 -0400 From: "Joel Fradkin" Subject: Re: Illegal access violation In-reply-to: <42E640FF.1030202@fis-cal.com> To: "'Bob Caryl'" , Message-id: <002201c591ec$3a0606b0$797ba8c0@jfradkin> MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=2.862 tagged_above=0 required=5 tests=AWL, MSGID_DOLLARS X-Spam-Level: ** X-Archive-Number: 200507/151 X-Sequence-Number: 5616 I am no expert, and am not sure what your app is, but you could try changing your connection to allow logs (c:\mylog) , in this way you can see what is happening and post it here for better analysis. Debug=1 turns logs on in a dsn less connection. For IIS you have to give permission for Iuser to write to the c drive. Joel Fradkin -----Original Message----- From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Bob Caryl Sent: Tuesday, July 26, 2005 9:56 AM To: pgsql-odbc@postgresql.org Subject: [ODBC] Illegal access violation Hello all: I am using the latest version of postgresql (version 8.03) on a linux machine as my server. I also using the latest version of the postgresql odbc driver (08_00_0101) on my WinXP platform. I have updateable cursors enabled on the odbc driver. I am trying to simply add a new row to my table on the linux machine, and when I call the CRecordset::Update method my application crashes with a memory access violation every time. Using the debugger and stepping through the code, the crash apparently happens in the .dll code. According to logs client and server side, this crash occurs before any attempt is made to do anything server-side. Has anyone else seen this, and if so what might I be doing wrong here? Thanks, Bob Caryl ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org