[Mono-bugs] [Bug 365911] New: System.Data.Common.DbProviderFactory throws System. Configuration.ConfigurationErrorsException

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Feb 29 03:04:36 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=365911


           Summary: System.Data.Common.DbProviderFactory throws
                    System.Configuration.ConfigurationErrorsException
           Product: Mono: Class Libraries
           Version: 1.2.6
          Platform: i386
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Data
        AssignedTo: bnc-blr-team-mono at forge.provo.novell.com
        ReportedBy: ferdinand.funke at gmx.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=197823)
 --> (https://bugzilla.novell.com/attachment.cgi?id=197823)
Sample application to reproduce the bug

While using System.Data.Common.DbProviderFactory my application throws a 
System.Configuration.ConfigurationErrorsException.

Exception message:

Unhandled Exception: System.Configuration.ConfigurationErrorsException: Failed
to find or load the registered .Net Framework Data Provider. () ()
  at System.Data.Common.DbProviderFactories.GetFactory (System.Data.DataRow
providerRow) [0x00000]
  at System.Data.Common.DbProviderFactories.GetFactory (System.String
providerInvariantName) [0x00000]
  at Connectivity.DBLoader.Load () [0x00000]

I attached a small sample application which reproduces the bug.
It was compiled by:
gmcs -r:System.Data.dll,System.Data.OracleClient.dll Program.cs

Needed to run the sample application is a Oracle database (like free Oracle 10
XE) called v10g with a user named "scott" and password "tiger". It does not
call any data from the database so that no tables are required.

I tested it against openSuse 10.3 (Mono 1.2.6) and Windows XP (Mono 1.2.6) with
the same results.
The application was tested against MS .Net and worked fine.

I also posted this on Nabble
(http://www.nabble.com/Using-System.Data.Common.DbProviderFactory-with-Mono-tc15735200.html)
and was told to file a bug.

Thanks for fixing this.

Best regards,

Ferdinand


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list