pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gordon Luk <gordon@gforce.ods.org>
To: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: [Fwd: [GENERAL] Error : ASP.NET with ODBC driver (Postgresql + Unicode beta driver (7.03.0100))]
Date: 26 Jul 2003 11:07:02 +0800
Message-ID: <1059188821.15904.0.camel@rhlsvr03.corp.ha.org.hk> (raw)

-----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

Message-ID: <1059188821.15904.0.camel@rhlsvr03.corp.ha.org.hk>
Permalink:  ../1059188821.15904.0.camel@rhlsvr03.corp.ha.org.hk/
Also on:    postgresql.org/message-id/1059188821.15904.0.camel@rhlsvr03.corp.ha.org.hk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: gordon@gforce.ods.org
  Subject: Re: [Fwd: [GENERAL] Error : ASP.NET with ODBC driver (Postgresql + Unicode beta driver (7.03.0100))]
  In-Reply-To: <1059188821.15904.0.camel@rhlsvr03.corp.ha.org.hk>
  References: <1059188821.15904.0.camel@rhlsvr03.corp.ha.org.hk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox