[Mono-bugs] [Bug 78666][Blo] New - [2.0] error with forms authentication

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sat Jun 17 15:20:17 EDT 2006

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by luca at lucamorelli.it.


--- shadow/78666	2006-06-17 15:20:17.000000000 -0400
+++ shadow/78666.tmp.29223	2006-06-17 15:20:17.000000000 -0400
@@ -0,0 +1,70 @@
+Bug#: 78666
+Product: Mono: Tools
+Version: unspecified
+OS Details: Fedora Core 5
+Status: NEW   
+Severity: Unknown
+Priority: Blocker
+Component: mod_mono
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: luca at lucamorelli.it               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: [2.0] error with forms authentication
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+if i add forms authention, addins deny user "?" or allow users "*" and
+start a procedura using mod-mono-server2 i receive the message 
+System.Configuration.ConfigurationException: Duplicate element in collection ()
+in <0x0011d> System.Configuration.ConfigurationElementCollection:BaseAdd
+(System.Configuration.ConfigurationElement element, Boolean throwIfExists)
+in <0x00033> System.Configuration.ConfigurationElementCollection:BaseAdd
+(System.Configuration.ConfigurationElement element)
+in <0x000bf>
+(System.String elementName, System.Xml.XmlReader reader)
+in <0x00477> System.Configuration.ConfigurationElement:DeserializeElement
+(System.Xml.XmlReader reader, Boolean serializeCollectionKey)
+in <0x0017a> System.Configuration.ConfigurationSection:DeserializeSection
+(System.Xml.XmlReader reader)
+in <0x00190> System.Configuration.Configuration:GetSectionInstance
+(System.Configuration.SectionInfo config, Boolean createDefaultInstance)
+in <0x000a3> System.Configuration.ConfigurationSectionCollection:get_Item
+(System.String name)
+in <0x00142> System.Configuration.Configuration:GetSection (System.String path)
+in <0x0001a>
+(System.String sectionName)
+in <0x00059> System.Web.Configuration.WebConfigurationManager:GetSection
+(System.String sectionName)
+in <0x0006d> System.Web.Security.UrlAuthorizationModule:OnAuthorizeRequest
+(System.Object sender, System.EventArgs args)
+in (wrapper delegate-invoke)
+System.MulticastDelegate:invoke_void_object_EventArgs (object,System.EventArgs)
+in <0x0046d> System.Web.HttpApplication+<RunHooks>__1:MoveNext ()
+if i remove the deny users the application works, and if i user the deny
+with mod_mono_server1 works fine. 
+Steps to reproduce the problem:
+1. configure mod_mono to use mono_server_2
+2. add deny users "?" or allow users "*" in the web.config 
+3. run the application
+Actual Results:
+the application doesn't run
+Expected Results: the program goes to the login page
+How often does this happen?  always
+Additional Information:

More information about the mono-bugs mailing list