Using v6 locally, and I'm trying to delete, then reinstall an extension. When I install the .zip file, I get:
"A critical error has occurred. An item with the same key has already been added."
I looked in the event viewer and here is the error, it doesn't look DB related. I did a DB trace and tried to see if there was something I could manually delete from the database, but haven't figured it out. I remember having this error a few versions ago and it was because the old module wasn't removed from the recycle bin, but I cleaned that out.
2/15/2012 3:46:11 PM Page Load Exception host DNN Test AssemblyVersion 6.1.3 PortalID 0 PortalName DNN Test UserID 1 UserName hos
AssemblyVersion: 6.1.3
PortalID: 0
PortalName: DNN Test
UserID: 1
UserName: host
ActiveTabID: 36
ActiveTabName: Extensions
RawURL: /sandbox/Host/Extensions/tabid/36/ctl/Install/rtab/36/portalid/0/Default.aspx?popUp=true
AbsoluteURL: /sandbox/Default.aspx
AbsoluteURLReferrer: http://localhost/sandbox/Host/Extensions/tabid/36/ctl/Install/rtab/36/portalid/0/Default.aspx?popUp=true
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.11 (KHTML, like Gecko) Chrome/17.0.963.46 Safari/535.11
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: c9f2a844-fd78-4a2c-8739-c4b575f6bbba
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.Definitions.ModuleDefinitionInfo.ReadModuleControls(XmlReader reader) at DotNetNuke.Entities.Modules.Definitions.ModuleDefinitionInfo.ReadXml(XmlReader reader) 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.Installer.ProcessPackages(XPathNavigator rootNav) at DotNetNuke.Services.Installer.Installer.ReadManifest(Stream stream) at DotNetNuke.Services.Installer.Installer.ReadManifest(Boolean deleteTemp) at DotNetNuke.Modules.Admin.Extensions.Install.wizInstall_NextButtonClick(Object sender, WizardNavigationEventArgs e) at System.Web.UI.WebControls.Wizard.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---