From pairat@rachada.com Fri Feb 5 08:28:29 2010 Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id C90EF633E21 for ; Fri, 5 Feb 2010 04:28:29 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 06293-05 for ; Fri, 5 Feb 2010 08:28:15 +0000 (UTC) X-Greylist: delayed 00:10:24.221239 by SQLgrey-1.7.6 Received: from irgb10.truemail.co.th (irgb10.truemail.co.th [203.144.173.226]) by mail.postgresql.org (Postfix) with ESMTP id 30481632899 for ; Fri, 5 Feb 2010 04:28:17 -0400 (AST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApgFACsUaUt8eQkN/2dsb2JhbACBbNcMhEUEgw0 X-IronPort-AV: E=Sophos;i="4.49,411,1262538000"; d="scan'208,217";a="3966917" Received: from ppp-124-121-9-13.revip2.asianet.co.th (HELO PairatPC2) ([124.121.9.13]) by irp4.truemail.co.th with ESMTP; 05 Feb 2010 15:17:48 +0700 From: "Pairat Paisalyakit" To: Subject: Error when update VarBinary field C# psqlodbc_08_04_0200 Date: Fri, 5 Feb 2010 15:17:56 +0700 Message-ID: <000001caa63b$b9891310$2c9b3930$@rachada.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01CAA676.65ED6950" X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJ56m2riwIXmmCfvQDVBOzHnfD7aQ== Content-Language: th X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.002 tagged_above=-10 required=5 tests=BAYES_50=0.001, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 201002/1 X-Sequence-Number: 10188 This is a multipart message in MIME format. ------=_NextPart_000_0001_01CAA676.65ED6950 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, After upgrade from psqlodbc_08_04_0100 to psqlodbc_08_04_0200, I could not update System.Data.Odbc.OdbcType.VarBinary field anymore. Programming language is C#. This is the error message: {System.InvalidOperationException: The connection has been disabled. ---> System.Data.Odbc.OdbcException: ERROR [08S01] commnication error while preapreand_describe --- End of inner exception stack trace --- at System.Data.Odbc.OdbcConnection.ConnectionIsAlive(Exception innerException) at System.Data.Odbc.OdbcConnection.HandleErrorNoThrow(OdbcHandle hrHandle, RetCode retcode) at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode) at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader, Object[] methodArguments, SQL_API odbcApiMethod) at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method, Boolean needReader) at System.Data.Odbc.OdbcCommand.ExecuteNonQuery() The connection is opened before update. Thank you. Pairat ------=_NextPart_000_0001_01CAA676.65ED6950 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

After = upgrade from psqlodbc_08_04_0100 to psqlodbc_08_04_0200, I could not = update System.Data.Odbc.OdbcType.VarBinary field = anymore.

 

Programming language is C#.

 

This is the = error message:

 

{System.InvalidOperationException: The connection has = been disabled. ---> System.Data.Odbc.OdbcException: ERROR [08S01] = commnication error while preapreand_describe

   --- End of inner exception stack trace = ---

   at = System.Data.Odbc.OdbcConnection.ConnectionIsAlive(Exception = innerException)

   at = System.Data.Odbc.OdbcConnection.HandleErrorNoThrow(OdbcHandle hrHandle, = RetCode retcode)

   at = System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode = retcode)

   at = System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior = behavior, String method, Boolean needReader, Object[] methodArguments, = SQL_API odbcApiMethod)

   = at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior = behavior, String method, Boolean needReader)

   at = System.Data.Odbc.OdbcCommand.ExecuteNonQuery()

 

 

The = connection is opened before update.

 

Thank = you.

 

Pairat

 

------=_NextPart_000_0001_01CAA676.65ED6950-- From inoue@tpf.co.jp Fri Feb 5 22:51:00 2010 Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id CB1B4632F50 for ; Fri, 5 Feb 2010 18:51:00 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 82675-01 for ; Fri, 5 Feb 2010 22:50:35 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sd.tpf.co.jp (sd.tpf.co.jp [210.161.239.34]) by mail.postgresql.org (Postfix) with SMTP id 7A8C9632D07 for ; Fri, 5 Feb 2010 18:50:49 -0400 (AST) Received: (qmail 20970 invoked by uid 512); 5 Feb 2010 22:24:05 -0000 X-Authentication: inoue was authenticated by sd.tpf.co.jp at 5 Feb 2010 22:24:05 -0000 Received: from unknown (HELO ?192.168.24.51?) (122.249.213.164) by sd.tpf.co.jp with SMTP; 5 Feb 2010 22:24:05 -0000 Message-ID: <4B6C9A7D.40403@tpf.co.jp> Date: Sat, 06 Feb 2010 07:23:57 +0900 From: Hiroshi Inoue User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; ja; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.0 MIME-Version: 1.0 To: Pairat Paisalyakit CC: pgsql-odbc@postgresql.org Subject: Re: Error when update VarBinary field C# psqlodbc_08_04_0200 References: <000001caa63b$b9891310$2c9b3930$@rachada.com> In-Reply-To: <000001caa63b$b9891310$2c9b3930$@rachada.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=-10 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 201002/2 X-Sequence-Number: 10189 Hi Pairat, Pairat Paisalyakit wrote: > Hi, > > After upgrade from psqlodbc_08_04_0100 to psqlodbc_08_04_0200, I could > not update System.Data.Odbc.OdbcType.VarBinary field anymore. Could you send me directly the Mylog output? regards, Hiroshi Inoue > Programming language is C#. > > This is the error message: > > {System.InvalidOperationException: The connection has been disabled. > ---> System.Data.Odbc.OdbcException: ERROR [08S01] commnication error > while preapreand_describe > > --- End of inner exception stack trace --- > > at System.Data.Odbc.OdbcConnection.ConnectionIsAlive(Exception > innerException) > > at System.Data.Odbc.OdbcConnection.HandleErrorNoThrow(OdbcHandle > hrHandle, RetCode retcode) > > at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, > RetCode retcode) > > at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior > behavior, String method, Boolean needReader, Object[] methodArguments, > SQL_API odbcApiMethod) > > at System.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior > behavior, String method, Boolean needReader) > > at System.Data.Odbc.OdbcCommand.ExecuteNonQuery() > > The connection is opened before update. > > Thank you. > > Pairat