Biz Modules Solutions
Contact us
  • Home
  • Products
    • Ultra Media Gallery 8
      • Overview
      • Feature Highlights
      • Sample Galleries
        • Galleria (UMG 8.5)
        • Translucent Slider (UMG 8.4)
        • Tonic Gallery (UMG 8.3)
        • Slider Master (UMG 8.2)
        • Carousel Evolution (UMG 8.1)
        • Spotlight Slider ( UMG 8.1)
        • TripleLayerSlider | homepage slider
        • MediaLibrary | mixed media gallery
        • WidescreenTour2 | stills & trailers
        • Piecerotator | multi media rotator
        • Html Slideshow | image slideshows
        • Widescreenshowroom | showcase
        • UMG Professional | photo gallery
        • UMG Classic | RSS subscription
        • Shooting places on Google maps
        • Virtual Tour
        • Photo calendar
      • Trial & Downloads
      • Testimonials
      • Release Notes
    • Ultra Video Gallery 4
      • Overview
      • Feature Highlights
      • Release Notes
      • Sample Sites
      • Reviews
      • Sample Videos
      • Trial & Downloads
    • Ultra News Article 1.1
      • Overview
      • Feature Highlights
      • Sample
    • Save as PDF
    • Custom development
  • Downloads
  • Buy now
    • License Upgrade
  • Support

Host Partnership

If you are looking for good DNN hosting, then PowerDNN is the best DNN host around!

Need a custom module?

Should you have any questions about custom DNN modules or web projects, please let us know.

Latest Discussions

Critical Error by Dustin Eatchel
Hi, we're getting a critcal error in our UVG 424 Pro module. The error is "A cr...
CarouselEvolution not showing properly . . . by Mike Ulloa
I have recently installed UMG 8.5 on a DNN 5.05 server. The carousel does not...
Empty Gallery. UMG 8.5 by Diego Juzgado
I have delete all medias and albums from a gallery module and now, I can't acces...
pause at the end of a slider display by Brazos Donaho
Was wondering if it would be possible to have an option that could control if th...
Require login to post comments by Marty Goldberg
Is there a way to require users to login before they can post a comment on a vid...
Home  > Support

Support Forum

Unanswered Active Topics Forums Search
Forums > Ultra Media Gallery > Support Questions
Subject: An item with the same key has already been added. - error
Prev Next
You are not authorized to post a reply.

Author Messages
Mark Buelsing
Posts:4
Bronze Member

08/30/2010 12:02 PM  
Do you have a thought on what is going on here?

We deleted an album from the Ultra Media Gallery and the website immediately gave us a runtime error that we can't resolve. Here it is, any help would be very much appreciated.

Server Error in '/' Application.
--------------------------------------------------------------------------------

An item with the same key has already been added.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: An item with the same key has already been added.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ArgumentException: An item with the same key has already been added.]
System.ThrowHelper.ThrowArgumentException(ExceptionResource resource) +51
System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +7462172
System.Collections.ObjectModel.KeyedCollection`2.AddKey(TKey key, TItem item) +93
System.Collections.ObjectModel.KeyedCollection`2.InsertItem(Int32 index, TItem item) +38
System.Collections.ObjectModel.Collection`1.Add(T item) +117
DotNetNuke.ComponentModel.SimpleContainer.AddBuilder(Type contractType, IComponentBuilder builder) +111
DotNetNuke.ComponentModel.SimpleContainer.RegisterComponentInstance(String name, Type contractType, Object instance) +121
DotNetNuke.ComponentModel.AbstractContainer.RegisterComponentInstance(Object instance) +82
DotNetNuke.ComponentModel.ComponentFactory.RegisterComponentInstance(Object instance) +77
DotNetNuke.Security.Membership.AspNetMembershipProvider..ctor() +191

[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +86
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +230
System.Activator.CreateInstance(Type type, Boolean nonPublic) +67
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1051
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +111
System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) +7648755
System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture) +36
DotNetNuke.Framework.Reflection.CreateInstance(Type Type) +27
DotNetNuke.ComponentModel.SingletonComponentBuilder.CreateInstance() +14
DotNetNuke.ComponentModel.SingletonComponentBuilder.BuildComponent() +16
DotNetNuke.ComponentModel.SimpleContainer.GetComponent(IComponentBuilder builder) +18
DotNetNuke.ComponentModel.SimpleContainer.GetComponent(Type contractType) +81
DotNetNuke.ComponentModel.AbstractContainer.GetComponent() +55
DotNetNuke.ComponentModel.ComponentFactory.GetComponent() +63
DotNetNuke.Security.Membership.MembershipProvider.Instance() +9
DotNetNuke.Entities.Users.UserController..cctor() +6

[TypeInitializationException: The type initializer for 'DotNetNuke.Entities.Users.UserController' threw an exception.]
DotNetNuke.Entities.Users.UserController.GetCurrentUserInfo() +0
DotNetNuke.Services.Exceptions.BasePortalException.InitializePrivateVariables() +278




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
Pengtsen R
Posts:11264


08/31/2010 12:47 PM  
it seems this problem comes from DNN core. did you try to restart your server?

Pengtsen R
http://www.bizmodules.net
Mark Buelsing
Posts:4
Bronze Member

08/31/2010 1:17 PM  
The first time we saw the error it was right after the album folder was deleted using the file manager.

No we didn't restart the server, we are on a shared host and can't do that. We restored the website from a backup. Deleting the album using the UltraMediaGallery created the problem the second time.

We still have no resolution. Can you help?
Pengtsen R
Posts:11264


09/02/2010 11:22 PM  
so this is a permanent error? I thought it only occured once.

Pengtsen R
http://www.bizmodules.net
Mark Buelsing
Posts:4
Bronze Member

09/03/2010 7:51 AM  
It has happened twice in a row. We are afraid to delete an album. We have to restore the whole site to resolve the error. Do you have a thought on it Pengtsen?
Pengtsen R
Posts:11264


09/04/2010 1:20 PM  
what's your DNN version? if it isn't latest version you can consider an upgrade.

Pengtsen R
http://www.bizmodules.net
You are not authorized to post a reply.
Forums > Ultra Media Gallery > Support Questions > An item with the same key has already been added. - error



ActiveForums 3.7
Copyright © 2005-2011 BizModules
Register Login