More in this section
Forums / Deployment / timeout trying to log on to the admin section

timeout trying to log on to the admin section

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. thelyrist
    thelyrist avatar
    16 posts
    18 May 2007
    02 Jan 2010
    Link to this post

    Server Error in '/' Application.

    An item with the same key has already been added.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.ArgumentException: An item with the same key has already been added.

    Source Error:

    Line 267:            foreach (IWebModule module in ModuleManager.GetWebModulesValues())
    Line 268:            {
    Line 269: if (module is SecuredModule && ((SecuredModule)module).CanCreate())Line 270:                    webModules.Add(module);
    Line 271:            }

    Source File: d:\wwwroot\ca\emsys\www\Sitefinity\Admin\Default.aspx.cs    Line: 269

    Stack Trace:

    [ArgumentException: An item with the same key has already been added.]
       System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) +51
       System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +7464444
       System.Collections.Generic.Dictionary`2.Add(TKey key, TValue value) +11
       Telerik.Security.Permissions.SecuredBase.GetPermissions(String roleProvider) +442
       Telerik.Security.Permissions.ApplicationPermission.BuildPermission(ISecured secured, String roleProvider, IDictionary`2& permissions, String[] roles) +119
       Telerik.Security.Permissions.ApplicationPermission.CheckDemand() +499
       Telerik.Security.Permissions.SecuredModule.CanCreate() +254
       Admin_Default.Page_Load(Object sender, EventArgs e) in d:\wwwroot\ca\emsys\www\Sitefinity\Admin\Default.aspx.cs:269
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       Telerik.Cms.Web.CmsPageBase.OnLoad(EventArgs e) +81
       Telerik.Cms.Web.AdminPage.OnLoad(EventArgs e) +36
       Admin_Default.OnLoad(EventArgs e) in d:\wwwroot\ca\emsys\www\Sitefinity\Admin\Default.aspx.cs:69
       System.Web.UI.Control.LoadRecursive() +50
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

    I am running Sitefinity 3.7 SP2 with MySQL server.  I upgraded from a previous version and the public side is working properly.
  2. Georgi
    Georgi avatar
    3583 posts
    28 Oct 2016
    04 Jan 2010
    Link to this post
    Hi thelyrist,

    It seems the problem is related to the configuration. 

    Can you please check if you have a module added more than once in the web.config file? This might have happened during the upgrade and web.config changes. 

    Kind regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered