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

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryDotNetNuke.Services.Exceptions.ModuleLoadException: Item has already been added.DotNetNuke.Services.Exceptions.ModuleLoadException: Item has already been added.
Previous
 
Next
New Post
10/6/2006 4:16 AM
 

DNN Version: 4.03.05

Module Version: 3.01.12

Error: Error: Gallery is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Item has already been added. Key in dictionary: 'REFBlackWhite.Text' Key being added: 'RefBlackWhite.Text' ---> System.Web.HttpParseException: Item has already been added. Key in dictionary: 'REFBlackWhite.Text' Key being added: 'RefBlackWhite.Text' ---> System.ArgumentException: Item has already been added. Key in dictionary: 'REFBlackWhite.Text' Key being added: 'RefBlackWhite.Text' at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) at System.Collections.Hashtable.Add(Object key, Object value) at System.Resources.ResourceWriter.AddResource(String name, Object value) at System.Web.Compilation.BaseResourcesBuildProvider.GenerateResourceFile(AssemblyBuilder assemblyBuilder, IResourceReader reader) at System.Web.Compilation.BaseResourcesBuildProvider.GenerateCode(AssemblyBuilder assemblyBuilder) at System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider) --- End of inner exception stack trace --- at System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider) at System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() at System.Web.Compilation.BuildProvidersCompiler.PerformBuild() at System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) at System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) at System.Web.Compilation.BuildManager.EnsureFirstTimeDirectoryInit(VirtualPath virtualDir) at System.Web.Compilation.BuildManager.GetBuildResultFromCacheInternal(String cacheKey, Boolean keyFromVPP, VirtualPath virtualPath, Int64 hashCode) at System.Web.Compilation.BuildManager.GetVPathBuildResultFromCacheInternal(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---

I removed the module from the host and reinstalled using the PA zipped version.  The same error occurs regardless of fresh install.  I'm out of ideas on how to fix this....... suggestions? 

 
New Post
10/6/2006 3:43 PM
 

Looking for more info to provide I’ve found that it looks like my error is related to this link: http://www.innovatasites.com/ecktwo/Tutorials/DNNSearch/tabid/1341/Default.aspx?PageContentID=12


InnerException: Item has already been added. Key in dictionary: "YourOffendingWord" Key being added: "YourOffendingWord"

The above error means possibly you have multiple indexing threads running simultaneously.  This will happen on large sites that have alot of content to index.  So much content that before the indexing thread get a chance to complete, the next scheduled indexing thread gets kicked off.  The solution is to increase the time interval between scheduled indexing tasks in Host/Schedule.

Tip: On DNN sites with alot of content to be indexed, increase the time interval between search indexings and don't use the default setting. 




Type

Enabled

Frequency

Retry Time Lapse

Next Start

 

DotNetNuke.Entities.Users.PurgeUsersOnline, DOTNETNUKE

 

Every 1 Minute

Every 5 Minutes

 

History

DotNetNuke.Services.Log.SiteLog.PurgeSiteLog, DOTNETNUKE

 

Every 1 Day

Every 2 Hours

 

History

DotNetNuke.Services.Scheduling.PurgeScheduleHistory, DOTNETNUKE

 

Every 1 Day

Every 2 Days

10/7/2006 4:58:30 PM

History

DotNetNuke.Services.Log.EventLog.PurgeLogBuffer, DOTNETNUKE

 

Every 1 Minute

Every 5 Minutes

 

History

DotNetNuke.Services.Log.EventLog.SendLogNotifications, DOTNETNUKE

 

Every 5 Minutes

Every 10 Minutes

 

History

DotNetNuke.Services.Search.SearchEngineScheduler, DOTNETNUKE

 

Every 30 Minutes

Every 60 Minutes

10/7/2006 2:55:08 PM

History

DotNetNuke.Modules.Admin.ResourceInstaller.InstallResources, DOTNETNUKE

 

Every 30 Minutes

Every 60 Minutes

 

History

DotNetNuke.Services.FileSystem.SynchronizeFileSystem, DOTNETNUKE

 

Every 1 Hour

Every 2 Hours

 

History

DotNetNuke.Services.Cache.PurgeCache, DOTNETNUKE

 

Every 2 Hours

Every 30 Minutes

 

History



I'm not seeing an indexer............ anyideas?
 
New Post
10/6/2006 8:53 PM
 
See my other post: but here it is. 

It has something to do with the exifmetadata.aspx actually with the indexing of that control.  It's been awhile since I seen this error and I don't really remember what the fix was.

Actualy I think I found it.  There is a file in DesktopModules\Gallery\AppLocalResources called ExifResources.resx.  In that file there are two nodes that reference RefBlackWhite.Text one on line 336 and the other on line 507.  I'm betting removing the second one, (the whole node) will fix your problem.

I'll also put this in Gemini to check.  It generally doesn't cause a problem...

Cheers,  Let me know if that works.

Paul Davis
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryDotNetNuke.Services.Exceptions.ModuleLoadException: Item has already been added.DotNetNuke.Services.Exceptions.ModuleLoadException: Item has already been added.


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