pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Treat <xzilla@users.sourceforge.net>
To: pgsql-odbc@postgresql.org
Subject: Unrecognized C_parameter type in copy_statement_with_parameters
Date: 26 Apr 2005 09:42:02 -0400
Message-ID: <1114522922.17613.754.camel@camel> (raw)

Here is the stack trace:

System.Data.Odbc.OdbcException: [unixODBC]Unrecognized C_parameter type in copy_statement_with_parameters
in <0x00130> System.Data.Odbc.OdbcCommand:ExecSQL (System.String sql)
in (wrapper remoting-invoke-with-check) System.Data.Odbc.OdbcCommand:ExecSQL (string)
in <0x00071> System.Data.Odbc.OdbcCommand:ExecuteNonQuery (Boolean freeHandle)
in (wrapper remoting-invoke-with-check) System.Data.Odbc.OdbcCommand:ExecuteNonQuery (bool)
in <0x00015> System.Data.Odbc.OdbcCommand:ExecuteReader (CommandBehavior behavior)
in (wrapper remoting-invoke-with-check) System.Data.Odbc.OdbcCommand:ExecuteReader (System.Data.CommandBehavior)
in <0x0000f> System.Data.Odbc.OdbcCommand:ExecuteReader ()
in (wrapper remoting-invoke-with-check) System.Data.Odbc.OdbcCommand:ExecuteReader ()
in <0x00023> System.Data.Odbc.OdbcCommand:ExecuteScalar ()
in (wrapper remoting-invoke-with-check) System.Data.Odbc.OdbcCommand:ExecuteScalar ()
in <0x0008b> RMS.Lib.DAO.SqlHelper:ExecuteScalar (System.String connString, System.String cmdText, System.Object[] parameterValues)
in <0x00080> RMS.Lib.DAO.RmsUser:Login (System.String username, System.String password)
in <0x00057> RMS.Lib.WebControl.SignIn:btnLogin_Click (System.Object sender, System.EventArgs e)
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in <0x00069> System.Web.UI.WebControls.Button:OnClick (System.EventArgs e)
in <0x00040> System.Web.UI.WebControls.Button:System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (System.String eventArgument)
in <0x00016> System.Web.UI.Page:RaisePostBackEvent (IPostBackEventHandler sourceControl, System.String eventArgument)
in <0x00033> System.Web.UI.Page:RaisePostBackEvents ()
in <0x00238> System.Web.UI.Page:InternalProcessRequest ()
in <0x000a9> System.Web.UI.Page:ProcessRequest (System.Web.HttpContext context)
in <0x00233> System.Web.HttpApplication+ExecuteHandlerState:Execute ()
in <0x0007c> System.Web.HttpApplication+StateMachine:ExecuteState (IStateHandler state, System.Boolean readysync)


I get this error when trying to set up a .net application using the ODBC
driver in Linux/Mono.  The same application works ok in odbc under
Windows/IIS, although I'm not sure that the ODBC drivers are the same.
Google seemed to only bring up some outdated links like
http://developer.postgresql.org/cvsweb.cgi/pgsql-server/src/interfaces/odbc/Attic/convert.c?rev=1.4

Anyone seen this one before? Anyone have a pointer on what might be
wrong? TIA

PS. I am aware of npgsql, but need this to run initially on odbc for a
proof of concept. 


Robert Treat
-- 
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL




Message-ID: <1114522922.17613.754.camel@camel>
Permalink:  ../1114522922.17613.754.camel@camel/
Also on:    postgresql.org/message-id/1114522922.17613.754.camel@camel

 · 

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: xzilla@users.sourceforge.net
  Subject: Re: Unrecognized C_parameter type in copy_statement_with_parameters
  In-Reply-To: <1114522922.17613.754.camel@camel>
  References: <1114522922.17613.754.camel@camel>

* 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