Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesDNN 5.5 - Module Install ErrorDNN 5.5 - Module Install Error
Previous
 
Next
New Post
9/2/2010 11:39 AM
 

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:

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?

 
New Post
9/2/2010 12:24 PM
 
maybe there has been a remainder of the module in cache, did you clear cache, restart application and retry?

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/15/2011 1:52 PM
 
I know this is an old thread but does anyone know the solution to this one. I've just run into it myself.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesDNN 5.5 - Module Install ErrorDNN 5.5 - Module Install Error


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out