[Mono-bugs] [Bug 667329] Key duplication when adding: sessionState

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri May 10 10:34:46 UTC 2013


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

https://bugzilla.novell.com/show_bug.cgi?id=667329#c14


andrus moor <kobruleht2 at hot.ee> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kobruleht2 at hot.ee

--- Comment #14 from andrus moor <kobruleht2 at hot.ee> 2013-05-10 10:34:44 UTC ---
I encountered Key duplication when adding: roleManager after upgrading from
MVC2 .NET 3.5 to MVC3 .NET 4

In MVC2 .NET 3.5 with same Mono version it does not occur. It starts to occur
after application was changed to MVC3.5/ .NET 4 , mod-mono-server2.exe was
changed to mod-mono-server4.exe .
Mono was not changed in server.

After that application stops accepting requests, same error occurs every time.

Mono Runtime Version: 2.10.8.1 (mono-2-10/70a5c95 Wed Feb 8 18:11:45 CET 2012);
ASP.NET Version: 4.0.30319.1 

OS: Debian


Server Error in '/myapp' Application

--------------------------------------------------------------------------------

Key duplication when adding: roleManager

Description: HTTP 500. Error processing request.

Stack Trace: 

System.ArgumentException: Key duplication when adding: roleManager
  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.RoleManagerModule.Init (System.Web.HttpApplication
app) [0x00000] in <filename unknown>:0 
  at System.Web.Configuration.HttpModulesSection.LoadModules
(System.Web.HttpApplication app) [0x00000] in <filename unknown>:0 
  at System.Web.HttpApplication.InitOnce (Boolean full_init) [0x00000] in
<filename unknown>:0 


--------------------------------------------------------------------------------
Version information: Mono Runtime Version: 2.10.8.1 (mono-2-10/70a5c95 Wed Feb
8 18:11:45 CET 2012); ASP.NET Version: 4.0.30319.1

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