I had installed one of my custom modules on my new DNN v5.5 site, but decided that I no longer wnated it, so deleted it via the Extenstion page and checked the "Delete Files" check box. All seemed OK.
However I have just been asked to reinstall this module, but when I try I get the following error:
|
A critical error has occurred.
An item with the same key has already been added. |
I have checked all the tables I can think of for any trace of this module (desktopModules, ModuleCache, ModuleControls, ModuleDefinitions, ModulePermission, Modules, ModuleSettings, PortalDesktopModules) but cannot find anything.
I have cleared down my cache, I have deleted temporary internet files, restarted my application, but I still get this error.
I have tried searching the DNN V5.5 source code for this error message, but can't even find that!
I do have this error in the log viewer and I am trying to decipher it, but it's a struggle!!
AssemblyVersion: 5.5.0
PortalID: 0
PortalName: DNN55
UserID: 1
UserName: RCHost
ActiveTabID: 36
ActiveTabName: Extensions
RawURL: /dnn55/Host/Extensions/tabid/36/ctl/Install/rtab/36/portalid/0/language/en-US/Default.aspx
AbsoluteURL: /DNN55/Default.aspx
AbsoluteURLReferrer: http://localhost:2760/dnn55/Host/Extensions/tabid/36/ctl/Install/rtab/36/portalid/0/language/en-US/Default.aspx
UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2)
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 416cba10-6f23-4896-9008-cf88cf43af81
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.Collections.Generic.Dictionary`2.Add(TKey key, TValue value)at DotNetNuke.Entities.Modules.DesktopModuleInfo.ReadModuleDefinitions(XmlReader reader)at DotNetNuke.Entities.Modules.DesktopModuleInfo.ReadXml(XmlReader reader)at DotNetNuke.Common.Utilities.CBO.DeserializeObject[TObject](XmlReader reader)at DotNetNuke.Common.Utilities.CBO.DeserializeObject[TObject](TextReader reader)at DotNetNuke.Services.Installer.Installers.ModuleInstaller.ReadManifest(XPathNavigator manifestNav)at DotNetNuke.Services.Installer.Installers.InstallerFactory.GetInstaller(XPathNavigator manifestNav, PackageInfo package)at DotNetNuke.Services.Installer.Installers.PackageInstaller.ReadComponents(XPathNavigator manifestNav)at DotNetNuke.Services.Installer.Installers.PackageInstaller.ReadManifest(XPathNavigator manifestNav)at DotNetNuke.Services.Installer.Installers.PackageInstaller..ctor(String packageManifest, InstallerInfo info)at DotNetNuke.Services.Installer.Installer.ProcessPackages(XPathNavigator rootNav)at DotNetNuke.Services.Installer.Installer.ReadManifest(Stream stream)at DotNetNuke.Services.Installer.Installer.ReadManifest(Boolean deleteTemp)at DotNetNuke.Services.Installer.Installer..ctor(Stream inputStream, String physicalSitePath, Boolean loadManifest, Boolean deleteTemp)at DotNetNuke.Modules.Admin.Extensions.Install.wizInstall_NextButtonClick(Object sender, WizardNavigationEventArgs e) in E:\DotNetNuke\Sites\DNN55\DesktopModules\Admin\Extensions\Install.ascx.vb:line 588at System.Web.UI.WebControls.Wizard.OnNextButtonClick(WizardNavigationEventArgs e)at System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e)at System.Web.UI.WebControls.Wizard.WizardChildTable.OnBubbleEvent(Object source, EventArgs args)at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)at System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e)at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument)at System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)--- End of inner exception stack trace ---
Source:
Server Name: WONTON
Can anyone point me in the right direction to fix this or offer any other help/suggestions?