[Mono-bugs] [Bug 686132] New: WebConfigurationManager complains about key duplication in System.Web.HttpApplication.Tick () on some requests to simple aspx pages.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Apr 8 00:24:20 EDT 2011



           Summary: WebConfigurationManager complains about key
                    duplication in System.Web.HttpApplication.Tick () on
                    some requests to simple aspx pages.
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.10.x
          Platform: All
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: tymek.majewski at nearmap.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:
Gecko/20101027 Ubuntu/9.10 (karmic) Firefox/3.6.12

This is mod-mono-server4.

In our system, from time to time we experience the following exception. The ASP
site is running MVC, but the problem is triggered also (mainly) for a simple
aspx page which just calls:

Response.Cache.SetCacheability( HttpCacheability.NoCache);

in Page_Init.

No changes in web.config when it happens. 

Stack trace
Main Exception in mscorlib in PutImpl: Key duplication when adding:
 at System.Collections.Hashtable.PutImpl (System.Object key, System.Object
value, Boolean overwrite) [0x00000] in <filename unknown>:0
 at System.Collections.Hashtable.Add (System.Object key, System.Object value)
[0x00000] in <filename unknown>:0
 at System.Collections.Specialized.NameObjectCollectionBase.BaseAdd
(System.String name, System.Object value) [0x00000] in <filename unknown>:0
 at System.Collections.Specialized.NameObjectCollectionBase.BaseSet
(System.String name, System.Object value) [0x00000] in <filename unknown>:0
 at System.Configuration.ConfigurationSectionCollection.get_Item (System.String
name) [0x00000] in <filename unknown>:0
 at System.Configuration.Configuration.GetSection (System.String path)
[0x00000] in <filename unknown>:0
 at System.Web.Configuration.WebConfigurationManager.GetSection (System.String
sectionName, System.String path, System.Web.HttpContext context) [0x00000] in
<filename unknown>:0
 at System.Web.Configuration.WebConfigurationManager.GetSection (System.String
sectionName) [0x00000] in <filename unknown>:0
 at System.Web.Security.FormsAuthenticationModule.InitConfig
(System.Web.HttpContext context) [0x00000] in <filename unknown>:0
 at System.Web.Security.FormsAuthenticationModule.OnAuthenticateRequest
(System.Object sender, System.EventArgs args) [0x00000] in <filename unknown>:0
 at System.Web.HttpApplication+<RunHooks>c__Iterator5.MoveNext () [0x00000] in
<filename unknown>:0
 at System.Web.HttpApplication+<Pipeline>c__Iterator6.MoveNext () [0x00000] in
<filename unknown>:0
 at System.Web.HttpApplication.Tick () [0x00000] in <filename unknown>:0

Reproducible: Sometimes

Steps to Reproduce:
1. Keep reqesting aspx pages.

Actual Results:  
Http 500

Expected Results:  
Http 200

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