[Mono-list] mdb problem on Linux

mdb teszt mdb@freemail.hu
Wed, 17 Nov 2004 09:31:43 +0100 (CET)


Hi, 

I'm trying to get an OleDbConnection to my mdb database file. 
I get an error message when I try use DataReader: 

Stack Trace: System.InvalidOperationException: State != Open 
in <0x0008f> System.Data.OleDb.OleDbCommand:ExecuteReader 
(System.Data.CommandBehavior) 
in <0x00054> (wrapper remoting-invoke-with-check) 
System.Data.OleDb.OleDbCommand:ExecuteReader 
(System.Data.CommandBehavior) 
in <0x00016> System.Data.OleDb.OleDbCommand:ExecuteReader () 
in <0x00050> (wrapper remoting-invoke-with-check) 
System.Data.OleDb.OleDbCommand:ExecuteReader () 
in <0x000ad> ASP.monomdb_aspx:btnLekerdezes_Click 
(object,System.EventArgs) 
in <0x00069> (wrapper delegate-invoke) 
System.MulticastDelegate:invoke_void_object_EventArgs 
(object,System.EventArgs) 
in <0x0009e> System.Web.UI.WebControls.Button:OnClick 
(System.EventArgs) 
in <0x00058> 
System.Web.UI.WebControls.Button:System.Web.UI.IPostBackEventHa
ndler.RaisePostBackEvent (string) 
in <0x00016> System.Web.UI.Page:RaisePostBackEvent 
(System.Web.UI.IPostBackEventHandler,string) 
in <0x0003e> System.Web.UI.Page:RaisePostBackEvents () 
in <0x002c3> System.Web.UI.Page:InternalProcessRequest () 
in <0x000c2> System.Web.UI.Page:ProcessRequest 
(System.Web.HttpContext) 
in <0x002eb> ExecuteHandlerState:Execute () 
in <0x00084> StateMachine:ExecuteState 
(System.Web.HttpApplication/IStateHandler,bool&)


What do I doing wrong? What is the right connect string?

Thanks!

werd