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.
|
Support Forum
| Author |
Messages |
|
Mark Buelsing Posts:4

 |
| 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

 |
| 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

 |
| 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. |
|
|
|
ActiveForums 3.7
|