From: | Gordon Luk <gordon(at)gforce(dot)ods(dot)org> |
---|---|
To: | Postgresql General Mail List <pgsql-general(at)postgresql(dot)org> |
Subject: | Error : ASP.NET with ODBC driver (Postgresql + Unicode beta driver (7.03.0100)) |
Date: | 2003-07-21 07:09:36 |
Message-ID: | 1058771375.31734.11.camel@rhlsvr03.corp.ha.org.hk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2003-07-21 07:38:59 | Re: [pgsql-advocacy] [GENERAL] Postgresql & AMD x86-64 |
Previous Message | u15074 | 2003-07-21 06:30:15 | Checkpoint question |