Unix Technical Forum

Unrecognized C_parameter type in copy_statement_with_parameters

This is a discussion on Unrecognized C_parameter type in copy_statement_with_parameters within the pgsql Interfaces odbc forums, part of the PostgreSQL category; --> 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) ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces odbc

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-16-2008, 02:10 AM
Robert Treat
 
Posts: n/a
Default Unrecognized C_parameter type in copy_statement_with_parameters

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_EventA rgs (object,System.EventArgs)
in <0x00069> System.Web.UI.WebControls.Button:OnClick (System.EventArgs e)
in <0x00040> System.Web.UI.WebControls.Button:System.Web.UI.IPo stBackEventHandler.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:Exe cute ()
in <0x0007c> System.Web.HttpApplication+StateMachine:ExecuteSta te (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/cvsw...vert.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


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:29 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com