[Mono-devel-list] Exception using ASP.NET (XSP) and OleDb class

Gomez Aragoneses, Andres agomez at wke.es
Tue Sep 14 09:52:07 EDT 2004

Hello guys.

I am developing an ASP.NET application and I have problems connecting to the
database. No compilation errors but I catch this exception:

System.DllNotFoundException: gda-2 in <0x00050> (wrapper managed-to-native)
System.Data.OleDb.libgda:gda_init (string,string,int,string[]) in <0x0003e>
System.Data.OleDb.OleDbConnection:.ctor () in <0x0000a>
System.Data.OleDb.OleDbConnection:.ctor (string) in <0x00053> (wrapper
remoting-invoke-with-check) System.Data.OleDb.OleDbConnection:.ctor (string)
in <0x00065> ConexionDB:prueba ()

My block of code is:

public class ConexionDB {

    const string sCon = "DSN=cronos_geac_oracle;PASSWORD=xxxxx;UID=user;";

    public string prueba () {

      OleDbConnection oCon;

      try {
        oCon = new OleDbConnection(this.sCon);
      catch (Exception e) {
        return e+"";


The thing is that I have already found one person that has had my problem,
but it seems no one replied his message (thread formed by only one message):


The unique difference, I think, is that I am on Windows XP and he is on
Linux. Version of Mono: 1.0.1.

Anyone could comment anything about this? Thanks very much in advance.



More information about the Mono-devel-list mailing list