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...Upgrading DNN P...Upgrading DNN P...Upgrade to 7.3.2 - Site Settings - Item with same key has already addedUpgrade to 7.3.2 - Site Settings - Item with same key has already added
Previous
 
Next
New Post
11/20/2014 5:07 AM
 

Hi All

I updated to DNN CE 7.3.2 and am now getting the following error when accessing a few pages, such as Site Settings and Page Management.  I successfully updated to 7.3.3 and 7.3.4 but the error didn't go away.  I have gone back to 7.3.2 now to try and resolve this prior to migrating. 

The error message I'm getting is "An item with same key has already been added".

Here is the event output:

ActiveTabID:68

ActiveTabName:Pages

RawURL:/Admin/Pages.aspx

AbsoluteURL:/Default.aspx

AbsoluteURLReferrer:https://localhost/Default.aspx?tabid=68&error=An+item+with+the+same+key+has+already+been+added.&content=0

UserAgent:Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; rv:11.0) like Gecko

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:5315c107-5a19-4517-af07-2ee7df0030ca

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.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
at DotNetNuke.Web.UI.WebControls.DnnSkinComboBox. (EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
--- End of inner exception stack trace ---

I am lost as to where to even start looking.

Thanks for your help.

Chris

 
New Post
11/20/2014 6:35 PM
 
please run https://dnnscript.codeplex.com/releas... from Host > SQL and restart the application

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/20/2014 7:23 PM
 

Hi Sebastian

The script ran successfully, thank you, but unfortunately it did not resolve the error.  Is there anything else I can try?

 

 
New Post
11/20/2014 7:37 PM
 
I am not sure, why this didn't solve your issue, but you may manually edit table PortalSettings and remove all duplicates with same PortalID + SettingName (ignore culture code)

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
11/20/2014 10:00 PM
 
I have checked manually and there doesn't seem to be any duplicates in that table :(
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Upgrade to 7.3.2 - Site Settings - Item with same key has already addedUpgrade to 7.3.2 - Site Settings - Item with same key has already 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