[Mono-list] problems with asp.net 2 application

Luca Morelli luca at lucamorelli.it
Sat Jun 17 07:27:50 EDT 2006


Hi, 

            i'm try to run an application under mono 1.1.13.5 with fedora
core 5.

            If I add forms authentication this way:

             <authorization>

                    <deny users="?"/>

             </authorization>

Or

 

             <authorization>

                    <allow users="*"/>

             </authorization>

 

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 <0x000ba> System.Configuration.ConfigurationElementCollection:Reset
(System.Configuration.ConfigurationElement parentElement)
in <0x00086> System.Configuration.PropertyInformation:Reset
(System.Configuration.PropertyInformation parentProperty)
in <0x0008c> System.Configuration.ElementInformation:Reset
(System.Configuration.ElementInformation parentInfo)
in <0x0002b> System.Configuration.ConfigurationElement:Reset
(System.Configuration.ConfigurationElement parentElement)
in <0x00123> 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.Web.Configuration.WebConfigurationManager:GetWebApplicationSection
(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 the application proceed.

 

Can you help me? 

 

Best regards,

            Luca Morelli

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20060617/961f4308/attachment.html


More information about the Mono-list mailing list