[Mono-bugs] [Bug 579837] System.Configuration.Save() method throws an exception when trying to add an authorization section to an existing Web.config

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Sep 16 15:43:02 EDT 2010


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

https://bugzilla.novell.com/show_bug.cgi?id=579837#c4


--- Comment #4 from QuickJack . <test051102 at hotmail.com> 2010-09-16 19:42:59 UTC ---
Hi Miguel,

thanks for your detailed answer.

Let me explain what I am doing with System.Configuration.Save(). I have created
a web portal which allows to control a number of custom web applications. The
portal extensively uses ASP.NET’s security features. Of course, detailed user
information is stored in a database using ASP.NET’s default scheme.

This web portal has an admin area which lists all applications that are
accessible from the portal. Each application’s rights can be adjusted to
control which user is allowed to run which applications. As a result, there is
no more need to manually change configuration files.

Currently I have created 5 independent applications which are controlled from
my portal. All of these applications have been designed to be compatible to
Linux/ Mono. The system is running under WinXP + Apache 2.2/ mod_aspdotnet.
There are absolutely no problems with this setup. Of course there are a bunch
of people which are using this system concurrently inside of an intranet. There
are lot’s of roles and users.

If several administrators would log in and try to change an application’s
security settings at the same time, this might cause problems. But this case
will propably never happen.

But anyway, it should be possible to change a given web.config file’s
<authorization> section. This is all I want to do. It works in Windows/ .Net so
it should ideally also work in Linux/ Mono. But Mono’s Save() method always
throws an exception when .Net’s Save() method does not!

Tomorrow, I will prepare a test project and append this to the bug as a test
case.


Best regards,
Martin

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