Unrecognized C_parameter type in copy_statement_with_parameters

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Unrecognized C_parameter type in copy_statement_with_parameters
Date: 2005-04-26 13:42:02
Message-ID: 1114522922.17613.754.camel@camel
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

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

Browse pgsql-odbc by date

  From Date Subject
Next Message Tom Lane 2005-04-26 14:24:11 Re: Bool values under Mac OS X
Previous Message lothar.behrens 2005-04-26 12:35:35 Bool values under Mac OS X