[Mono-bugs] [Bug 421166] New: System.Configuration. ProviderSettings not saving Parameters collection

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Aug 28 14:43:17 EDT 2008


           Summary: System.Configuration.ProviderSettings not saving
                    Parameters collection
           Product: Mono: Class Libraries
           Version: 1.9
          Platform: i386
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Configuration
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: keith.davis at zunisoft.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User

The following snippet of code does not work on mono 1.9.1:

Configuration config =

MembershipSection ms =

ms.DefaultProvider = "DbMembershipProvider";

Assembly a = Assembly.GetAssembly(typeof(DbMembershipProvider));

System.Configuration.ProviderSettings ps = new ProviderSettings();

ps.Name = "DbMembershipProvider";

ps.Type = "EPRS.Membership.Providers.DbMembershipProvider, " + a.FullName;

ps.Parameters.Add("connectionStringName", "OpenEPRSConn");



When the configuration including the above is saved, ps.Name and ps.Type show
up in the config as expected, connectionStringName is missing.  The code in
question has been verified to work on .NET 2.0 on Windows.

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

More information about the mono-bugs mailing list