[Mono-devel-list] help with using OleDb

ronny abraham ballantrae_jlinx2000 at yahoo.com
Mon Jul 12 21:41:58 EDT 2004

I'm trying to run a Mono example which
uses to Ole classes.  I can run Npgsql-based classes
fine.  But when I run a similiar example using OleDb I

[ron at localhost sharp]$ mono dbtest.exe
** (System.Data.OleDb:27727): CRITICAL **: file
gda-config.c: line 136 (gda_config_parse_config_file):
assertion `len != 0' failed

Which is why I'm trying to reinstall libgda from
sources in the first place.  If someone can help, I'll
be happy.

For the sake of completeness, I'm including the code
for the OleDb example below (it's slightly modified
from the go-mono website)

I've gotten this thing working before, only I can't
figure out what I've done differently.  ARRRGH!

 using System;
 using System.Data;
 using System.Data.OleDb;
 public class DbTest
    public static void Main(string[] args)
        // there is a libgda PostgreSQL provider
       string connectionString =
          "Provider=PostgreSQL;" +
          "Addr=;" +
          "Database=bogus;" +
          "User ID=bogusman;" +
       IDbConnection dbcon;
       dbcon = new OleDbConnection(connectionString);

       dbcon = null;

Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!

More information about the Mono-devel-list mailing list