[Mono-list] anyone got bDataAdapter.Fill Method work?

Dennis Boylan mono@b-lan.com
Tue, 13 Jul 2004 15:45:14 -0400


I've done some more debugging, and it appears that the problem might actually
lie in the TDS implimentation.  If it was like FreeTDS, I could enable
logging and figure more out.  I'll look at adding logging support and possibly
add 8.0 support.

Here is another stack trace which is leading me down this tack:
ystem.Data.SqlClient.SqlException: 'int' is not a recognized CURSOR option.
in [0x00034] (at /tmp/snapshot/20040712/mcs/class/System.Data/System.Data.SqlClient/SqlConnection.cs:204) System.Data.SqlClient.SqlConnection:ErrorHandler (object,Mono.Data.Tds.Protocol.TdsInternalErrorMessageEventArgs)
in <0x00069> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_TdsInternalErrorMessageEventArgs (object,Mono.Data.Tds.Protocol.TdsInternalErrorMessageEventArgs)
in [0x00019] (at /tmp/snapshot/20040712/mcs/class/Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds.cs:1076) Mono.Data.Tds.Protocol.Tds:OnTdsErrorMessage (Mono.Data.Tds.Protocol.TdsInternalErrorMessageEventArgs)
in <0x00056> (wrapper remoting-invoke-with-check) Mono.Data.Tds.Protocol.Tds:OnTdsErrorMessage (Mono.Data.Tds.Protocol.TdsInternalErrorMessageEventArgs)
in [0x000fe] (at /tmp/snapshot/20040712/mcs/class/Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds.cs:1117) Mono.Data.Tds.Protocol.Tds:ProcessMessage (Mono.Data.Tds.Protocol.TdsPacketSubType)
in <0x00052> (wrapper remoting-invoke-with-check) Mono.Data.Tds.Protocol.Tds:ProcessMessage (Mono.Data.Tds.Protocol.TdsPacketSubType)
in [0x00130] (at /tmp/snapshot/20040712/mcs/class/Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds.cs:1164) Mono.Data.Tds.Protocol.Tds:ProcessSubPacket ()
in [0x00017] (at /tmp/snapshot/20040712/mcs/class/Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds.cs:278) Mono.Data.Tds.Protocol.Tds:NextResult ()
in <0x0005d> (wrapper remoting-invoke-with-check) Mono.Data.Tds.Protocol.Tds:NextResult ()
in [0x00006] (at /tmp/snapshot/20040712/mcs/class/Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds.cs:346) Mono.Data.Tds.Protocol.Tds:SkipToEnd ()
in <0x0004f> (wrapper remoting-invoke-with-check) Mono.Data.Tds.Protocol.Tds:SkipToEnd ()
in [0x00055] (at /tmp/snapshot/20040712/mcs/class/Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds.cs:264) Mono.Data.Tds.Protocol.Tds:ExecuteQuery (string,int,bool)
in <0x00079> (wrapper remoting-invoke-with-check) Mono.Data.Tds.Protocol.Tds:ExecuteQuery (string,int,bool)
in [0x00012] (at /tmp/snapshot/20040712/mcs/class/Mono.Data.Tds/Mono.Data.Tds.Protocol/Tds70.cs:378) Mono.Data.Tds.Protocol.Tds70:ExecProc (string,Mono.Data.Tds.TdsMetaParameterCollection,int,bool)
in [0x000e9] (at /tmp/snapshot/20040712/mcs/class/System.Data/System.Data.SqlClient/SqlCommand.cs:293) System.Data.SqlClient.SqlCommand:Execute (System.Data.CommandBehavior,bool)
in <0x00067> (wrapper remoting-invoke-with-check) System.Data.SqlClient.SqlCommand:Execute (System.Data.CommandBehavior,bool)
in [0x00010] (at /tmp/snapshot/20040712/mcs/class/System.Data/System.Data.SqlClient/SqlCommand.cs:316) System.Data.SqlClient.SqlCommand:ExecuteNonQuery ()
in [0x0002b] (at /home/dennis/Dev/new/DbLayer/User.cs:1001) IA.DbLayer.DBUser:GetUserCount (string)
in [0x00003] (at /home/dennis/Dev/new/IPal/Login.aspx.cs:203) IA.IPal.Login:LoginUser (string,string,bool)
in [0x0004f] (at /home/dennis/Dev/new/IPal/Login.aspx.cs:328) IA.IPal.Login:btnLogin_ServerClick (object,System.EventArgs)
in <0x00069> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
in [0x00025] (at /tmp/snapshot/20040712/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputButton.cs:65) System.Web.UI.HtmlControls.HtmlInputButton:OnServerClick (System.EventArgs)
in [0x0001c] (at /tmp/snapshot/20040712/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlInputButton.cs:73) System.Web.UI.HtmlControls.HtmlInputButton:System.Web.UI.IPostBackEventHandler.RaisePostBackEvent (string)
in [0x00002] (at /tmp/snapshot/20040712/mcs/class/System.Web/System.Web.UI/Page.cs:831) System.Web.UI.Page:RaisePostBackEvent (System.Web.UI.IPostBackEventHandler,string)
in [0x00013] (at /tmp/snapshot/20040712/mcs/class/System.Web/System.Web.UI/Page.cs:795) System.Web.UI.Page:RaisePostBackEvents ()
in [0x00144] (at /tmp/snapshot/20040712/mcs/class/System.Web/System.Web.UI/Page.cs:756) System.Web.UI.Page:InternalProcessRequest ()
in [0x00052] (at /tmp/snapshot/20040712/mcs/class/System.Web/System.Web.UI/Page.cs:720) System.Web.UI.Page:ProcessRequest (System.Web.HttpContext)
in [0x00091] (at /tmp/snapshot/20040712/mcs/class/System.Web/System.Web/HttpApplication.cs:444) ExecuteHandlerState:Execute ()
in [0x0001e] (at /tmp/snapshot/20040712/mcs/class/System.Web/System.Web/HttpApplication.cs:708) StateMachine:ExecuteState (System.Web.HttpApplication/IStateHandler,bool&)

- Dennis