[Fwd: [GENERAL] Error : ASP.NET with ODBC driver (Postgresql + Unicode beta driver (7.03.0100))] - Mailing list pgsql-odbc

From Gordon Luk
Subject [Fwd: [GENERAL] Error : ASP.NET with ODBC driver (Postgresql + Unicode beta driver (7.03.0100))]
Date
Msg-id 1059188821.15904.0.camel@rhlsvr03.corp.ha.org.hk
Whole thread Raw
List pgsql-odbc
-----Forwarded Message-----
> From: Gordon Luk <gordon@gforce.ods.org>
> To: Postgresql General Mail List <pgsql-general@postgresql.org>
> Subject: [GENERAL] Error : ASP.NET with ODBC driver (Postgresql + Unicode beta driver (7.03.0100))
> Date: 21 Jul 2003 15:09:36 +0800
>
Hi all,

    Anyone experience following error, i copy from asp.net error return page. I am using Postgresql + Unicode beta driver (7.03.0100), my page had to save data with UTF-8/big5 encodeing to postgresql(database encoding also Unicode), so i had to use Unicode.  But i got probelm. Anyone could give me a hand?


--- Start of ASP.net return error ---------------->8-------------------------------
[NullReferenceException: Object reference not set to an instance of an object.]
   System.Data.Common.Odbc32.SQLExecDirectW(IntPtr StatementHandle, String StatementText, Int32 TextLength) +0
   Microsoft.Data.Odbc.OdbcCommand.ExecuteReaderObject(CommandBehavior behavior, String method) +806
   Microsoft.Data.Odbc.OdbcCommand.ExecuteReader(CommandBehavior behavior) +53
   Microsoft.Data.Odbc.OdbcCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) +5
   System.Data.Common.DbDataAdapter.Fill(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +121
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +77
   System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +36
   PCMgmt.WebCPU.Page_Load(Object sender, EventArgs e) in D:\cvsroot\wtsh\PCMgmt\HTML\PCMgmt\Module\WebSoftware.aspx.vb:141
   System.Web.UI.Control.OnLoad(EventArgs e) +67
   System.Web.UI.Control.LoadRecursive() +29
   System.Web.UI.Page.ProcessRequestMain() +724
--- End of ASP.net return error ---------------->8-------------------------------

Gordon

pgsql-odbc by date:

Previous
From: "Hiroshi Inoue"
Date:
Subject: Re: odbc crashes microsoft project?
Next
From: Alejandro Fuentes González
Date:
Subject: Problems with ORACLE