[Mono-aspnet-list] System.ArgumentException: Key duplication when adding: httpModules

Pablo Ruiz pablo.ruiz at gmail.com
Fri Jun 1 16:25:55 UTC 2012


I have the same problem ocassionally.. Apparently it is caused by two
concurrent request being made during mod_mono's initialialization,
which causes some sort of race condition, but I just had no time to
digg deeper..

Sent from my iPad

On 01/06/2012, at 17:52, liteweight <nelson.timothy at gmail.com> wrote:

> Mono/mod_mono 2.10.5 - I am getting this error (it appears) when mod_mono
> auto restarts.  Does anyone have a clue what this means?
>
> System.ArgumentException: Key duplication when adding: httpModules
>  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, System.String path) [0x00000] in <filename
> unknown>:0
>  at
> System.Web.Configuration.WebConfigurationManager.GetWebApplicationSection
> (System.String sectionName) [0x00000] in <filename unknown>:0
>  at System.Web.HttpApplication.InitOnce (Boolean full_init) [0x00000] in
> <filename unknown>:0
>
> --
> View this message in context: http://mono.1490590.n4.nabble.com/System-ArgumentException-Key-duplication-when-adding-httpModules-tp4649636.html
> Sent from the Mono - ASP.NET mailing list archive at Nabble.com.
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list


More information about the Mono-aspnet-list mailing list