[Mono-list] mdb problem on Linux

mdb teszt mdb@freemail.hu
Wed, 17 Nov 2004 14:46:41 +0100 (CET)


A Rafael D Teixeira <rafael.teixeirabr@terra.com.br> =EDrta:

> Do you have libgda, and mdb-tools (http://mdbtools.sourceforge.net/)
> installed?=20
>=20
Yes, I have.

> Our OLEDB ADO.NET implementation links to libgda and uses its=20
configured
> providers.
What is the name of the provider? MDB?

>=20
> Also see the FAQ to know the limitations of mdbtools (
> http://mdbtools.sourceforge.net/faq.html), being the most important=20
that
> it gives readonly access to mdb files.
>=20
> It is well advised to migrate your data to some *real* database, like
> PostgreSQL, instead of keeping it in a undocumented and limited file
> format.
>=20
> Good luck,
>=20
> On Wed, 2004-11-17 at 06:31, mdb teszt wrote:
> > Hi,=20
> >=20
> > I'm trying to get an OleDbConnection to my mdb database file.=20
> > I get an error message when I try use DataReader:=20
> >=20
> > Stack Trace: System.InvalidOperationException: State !=3D Open=20
> > in <0x0008f> System.Data.OleDb.OleDbCommand:ExecuteReader=20
> > (System.Data.CommandBehavior)=20
> > in <0x00054> (wrapper remoting-invoke-with-check)=20
> > System.Data.OleDb.OleDbCommand:ExecuteReader=20
> > (System.Data.CommandBehavior)=20
> > in <0x00016> System.Data.OleDb.OleDbCommand:ExecuteReader=20
()=20
> > in <0x00050> (wrapper remoting-invoke-with-check)=20
> > System.Data.OleDb.OleDbCommand:ExecuteReader ()=20
> > in <0x000ad> ASP.monomdb_aspx:btnLekerdezes_Click=20
> > (object,System.EventArgs)=20
> > in <0x00069> (wrapper delegate-invoke)=20
> > System.MulticastDelegate:invoke_void_object_EventArgs=20
> > (object,System.EventArgs)=20
> > in <0x0009e> System.Web.UI.WebControls.Button:OnClick=20
> > (System.EventArgs)=20
> > in <0x00058>=20
> >=20
System.Web.UI.WebControls.Button:System.Web.UI.IPostBackEventHa
> > ndler.RaisePostBackEvent (string)=20
> > in <0x00016> System.Web.UI.Page:RaisePostBackEvent=20
> > (System.Web.UI.IPostBackEventHandler,string)=20
> > in <0x0003e> System.Web.UI.Page:RaisePostBackEvents ()=20
> > in <0x002c3> System.Web.UI.Page:InternalProcessRequest ()=20
> > in <0x000c2> System.Web.UI.Page:ProcessRequest=20
> > (System.Web.HttpContext)=20
> > in <0x002eb> ExecuteHandlerState:Execute ()=20
> > in <0x00084> StateMachine:ExecuteState=20
> > (System.Web.HttpApplication/IStateHandler,bool&)
> >=20
> >=20
> > What do I doing wrong? What is the right connect string?
> >=20
> > Thanks!
> >=20
> > werd
> >=20
> >=20
> > _______________________________________________
> > Mono-list maillist  -  Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >=20
> > Esta mensagem foi verificada pelo E-mail Protegido Terra.
> > Scan engine: VirusScan / Atualizado em 10/11/2004 / Vers=E3o: 1.5.2
> > Proteja o seu e-mail Terra: http://www.emailprotegido.terra.com.br/
> >=20
> > E-mail classificado pelo Identificador de Spam Inteligente Terra.
> > Para alterar a categoria classificada, visite
> >=20
http://www.terra.com.br/centralunificada/emailprotegido/imail/imail.cgi?
+_u=3Drafael.teixeirabr&_l=3D1100680338.995854.9781.corinto.terra.com.b
r
> --=20
> Rafael "Monoman" Teixeira=20
> Mono Hacker since 16 Jul 2001 - http://www.go-mono.org/
> Mono Brasil Founding Member - http://monobrasil.redesolbrasil.org/
> English Blog: http://monoblog.blogspot.com/
> Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/
>=20
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>=20