Error : ASP.NET with ODBC driver (Postgresql + Unicode beta driver (7.03.0100))

Started by Gordon Lukover 22 years ago1 messagesgeneral
Jump to latest
#1Gordon Luk
gordon@gforce.ods.org

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