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

HomeHomeDevelopment and...Development and...Open Core Testi...Open Core Testi...6.0.0 upgrade from 5.36.0.0 upgrade from 5.3
Previous
 
Next
New Post
7/13/2011 9:28 PM
 
Really bad stuff happening here. Hope this helps production. I am receiving the following errors when trying to access some of the admin and host settings modules. They all reference duplicate keys. Can somebody help shed some light on what happened during the upgrade?

Error: Site Settings is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: 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 System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector) at DotNetNuke.Modules.Admin.Portals.SiteSettings.BindSkins(PortalInfo portal) at DotNetNuke.Modules.Admin.Portals.SiteSettings.BindPortal(Int32 portalId, String activeLanguage) at DotNetNuke.Modules.Admin.Portals.SiteSettings.OnLoad(EventArgs e) --- End of inner exception stack trace ---

ModuleId: 358

ModuleDefId: 14

FriendlyName: Site Settings

ModuleControlSource: DesktopModules/Admin/Portals/SiteSettings.ascx

AssemblyVersion: 6.0.0

PortalID: 0

PortalName: Compudigital Industries

UserID: 1

UserName: host

ActiveTabID: 42

ActiveTabName: Site Settings

RawURL: /Admin/SiteSettings.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://compudigital.com/Admin.aspx

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.55 Safari/535.1

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: 1d75e139-70a5-4586-9862-fb485912af2e

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.ModuleLoadException: 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 System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector) at DotNetNuke.Modules.Admin.Portals.SiteSettings.BindSkins(PortalInfo portal) at DotNetNuke.Modules.Admin.Portals.SiteSettings.BindPortal(Int32 portalId, String activeLanguage) at DotNetNuke.Modules.Admin.Portals.SiteSettings.OnLoad(EventArgs e) --- End of inner exception stack trace ---

Source:

Server Name: ROCKETWINNER











Error: Pages is currently unavailable. DotNetNuke.Services.Exceptions.ModuleLoadException: 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 System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector) at DotNetNuke.Modules.Admin.Pages.View.BindSkinsAndContainers() at DotNetNuke.Modules.Admin.Pages.View.OnLoad(EventArgs e) --- End of inner exception stack trace ---


ModuleId: 359

ModuleDefId: 13

FriendlyName: Pages

ModuleControlSource: DesktopModules/Admin/Tabs/Tabs.ascx

AssemblyVersion: 6.0.0

PortalID: 0

PortalName: Compudigital Industries

UserID: 1

UserName: host

ActiveTabID: 43

ActiveTabName: Pages

RawURL: /Admin/Pages.aspx

AbsoluteURL: /Default.aspx

AbsoluteURLReferrer: http://compudigital.com/Admin.aspx

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.55 Safari/535.1

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider

ExceptionGUID: f30101d4-ece9-4164-b9ea-16eff6b33966

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.ModuleLoadException: 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 System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector) at DotNetNuke.Modules.Admin.Pages.View.BindSkinsAndContainers() at DotNetNuke.Modules.Admin.Pages.View.OnLoad(EventArgs e) --- End of inner exception stack trace ---

Source:

Server Name: ROCKETWINNER



 
New Post
7/21/2011 7:19 PM
 
Did you find a resolution to this? I just upgraded to 6.0 and have the same problem.
 
New Post
7/21/2011 7:30 PM
 
We discovered this issue late yesterday and a decision was made to not hold the release and included the fix in the next machinate release. (6.0.1)

Currently there is a fairly simple work around to fix the issue. you need to make sure that you don't need to check your /portals/_default/skins and portals/#/skins and make sure you don't have the same skin in both folders.

this issue will go away if you remove the duplicated issue.

the issue is logged in Gemini http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=17305&PROJID=2
 
New Post
7/21/2011 7:31 PM
 
This happens when you have skin with same name under default and portal.
Is reported as a bug.

Workaround - remove one of the skins.
 
New Post
7/21/2011 8:40 PM
 
Is this based on the name of the folder? Because I don't have two skins with the same folder name. Is it based on a database entry or something inside the folder structure?
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Open Core Testi...Open Core Testi...6.0.0 upgrade from 5.36.0.0 upgrade from 5.3


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