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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Help with ErrorHelp with Error
Previous
 
Next
New Post
3/22/2011 8:50 PM
 
Hi guys,

I have my site hosted with PowerDNN, and each month or so (random times, no regularlity) it crashes. PowerDNNhave insisted each time that it wont happen again, but it does...

Can anyone shed any light for me?

--

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) +7464300 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.DNNRoleProvider..ctor() +192 [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) +7651135 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.Roles.RoleProvider.Instance() +9 DotNetNuke.Security.Roles.RoleController..cctor() +95 [TypeInitializationException: The type initializer for 'DotNetNuke.Security.Roles.RoleController' threw an exception.] DotNetNuke.Security.Roles.RoleController..ctor() +0 DotNetNuke.Entities.Portals.PortalInfo.get_AdministratorRoleName() +53 DotNetNuke.Entities.Portals.PortalSettings.GetPortalSettings(Int32 tabID, PortalInfo portal) +401 DotNetNuke.Entities.Portals.PortalSettings..ctor(Int32 tabID, PortalAliasInfo objPortalAliasInfo) +112 DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +2176 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75 


Version Information: Microsoft .NET Framework Version:2.0.50727.3615; ASP.NET Version:2.0.50727.3618
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Help with ErrorHelp with 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