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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Apr 4 11:22:01 EDT 2008


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

User sergiosamayoa at icon.com.gt added comment
https://bugzilla.novell.com/show_bug.cgi?id=365911#c1


Sergio Samayoa <sergiosamayoa at icon.com.gt> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |sergiosamayoa at icon.com.gt




--- Comment #1 from Sergio Samayoa <sergiosamayoa at icon.com.gt>  2008-04-04 09:22:01 MST ---
I'm trying to migrate a simple ASP.NET application made with VS wich uses
<asp:SqlDataSource> accessing Oracle and I got the problem reported here.

It is a stopper bug.

I tried load all providers with this simple code but no one has been loaded
successfully:

<script runat="server">
    Public Sub provs()
        Dim ps As DataTable = DbProviderFactories.GetFactoryClasses()
        For Each r As DataRow In ps.Rows
            Response.Write("[" & r(0) & "] , [" & r(1) & "], [" & r(2) & "], ["
& r(3) & "]<BR>")
            Try
                Dim f As DbProviderFactory =
DbProviderFactories.GetFactory("System.Data.OracleClient")
                Response.Write("Sin error...<BR>")
            Catch ex As Exception
                Response.Write("ERROR:<BR>" & ex.ToString & "<BR>")
            End Try
        Next
    End Sub
</script>

FWIW:
Oracle 10.2
Open Suse 10.2
Mono 1.9


-- 
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