[Fwd: [GENERAL] Error : ASP.NET with ODBC driver (Postgresql + Unicode beta driver (7.03.0100))]

From: Gordon Luk <gordon(at)gforce(dot)ods(dot)org>
To: "pgsql-odbc(at)postgresql(dot)org" <pgsql-odbc(at)postgresql(dot)org>
Subject: [Fwd: [GENERAL] Error : ASP.NET with ODBC driver (Postgresql + Unicode beta driver (7.03.0100))]
Date: 2003-07-26 03:07:02
Message-ID: 1059188821.15904.0.camel@rhlsvr03.corp.ha.org.hk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

-----Forwarded Message-----
> From: Gordon Luk <gordon(at)gforce(dot)ods(dot)org>
> To: Postgresql General Mail List <pgsql-general(at)postgresql(dot)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

Browse pgsql-odbc by date

  From Date Subject
Next Message Alejandro Fuentes González 2003-07-29 00:08:12 Problems with ORACLE
Previous Message Hiroshi Inoue 2003-07-23 14:01:25 Re: odbc crashes microsoft project?