Hi!
I am (shanmugam) new to DNN. I got error while add module control as below
A critical error has occurred. An item with the same key has already been added.
i am using 6.1.4 version. the detailed error is
AssemblyVersion: 6.1.4
PortalID: 0
PortalName: My Website
UserID: 1
UserName: host
ActiveTabID: 36
ActiveTabName: Extensions
RawURL: /dnnuke/Host/Extensions/tabid/36/ctl/Edit/PackageID/104/mid/345/portalid/0/Default.aspx?popUp=true
AbsoluteURL: /dnnuke/Default.aspx
AbsoluteURLReferrer: http://localhost/dnnuke/Host/Extensions/tabid/36/ctl/EditControl/mid/345/ModuleControlID/-1/packageId/104/moduledefid/122/portalid/0/Default.aspx?popUp=true
UserAgent: Mozilla/5.0 (Windows NT 5.1; rv:11.0) Gecko/20100101 Firefox/11.0
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 979b1cb3-432e-46fe-909f-af96fa47cd82
InnerException: An item with the same key has already been added.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.ThrowHelper.ThrowArgumentException
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: An item with the same key has already been added. ---> System.ArgumentException: An item with the same key has already been added. at System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector) at DotNetNuke.Entities.Modules.ModuleControlController.GetModuleControlsByModuleDefinitionID(Int32 moduleDefID) at DotNetNuke.Entities.Modules.Definitions.ModuleDefinitionInfo.LoadControls() at DotNetNuke.Entities.Modules.Definitions.ModuleDefinitionInfo.get_ModuleControls() at DotNetNuke.Modules.Admin.Extensions.ModuleEditor.BindDefinition() at DotNetNuke.Modules.Admin.Extensions.ModuleEditor.BindDesktopModule(Boolean refreshDefinitions) at DotNetNuke.Modules.Admin.Extensions.ModuleEditor.Initialize() at DotNetNuke.Modules.Admin.Extensions.EditExtension.BindData() at DotNetNuke.Modules.Admin.Extensions.EditExtension.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source:
Server Name: cg-vak-trainee2
pls help me to solve the problem
Thanks in advance