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...Language and In...Language and In...An item with the same key has already been addedAn item with the same key has already been added
Previous
 
Next
New Post
4/28/2011 4:55 AM
 
I'm having this problem on some pages, since i clicked Enable Localized Content (Admin > Languages) and i can't figure why.
I have three languages for that site, but now only one is active, but one strange thing is that for the other languages, it shows 105% for the number of pages on one, and 102% for the other inactive language. The behavior is the same even if all languages are active.
Any help will be appreciated :-)

Thank you



DefaultDataProvider
: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 1d0d5900-f3e5-4aad-9647-8be895607848
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 System.Linq.Enumerable.ToDictionary[TSource,TKey](IEnumerable`1 source, Func`2 keySelector) at DotNetNuke.Entities.Tabs.TabInfo.get_LocalizedTabs() at DotNetNuke.Entities.Tabs.TabController.GetTabByCulture(Int32 tabId, Int32 portalId, Locale locale) at DotNetNuke.UI.Skins.Controls.LanguagePropertyAccess.newUrl(String newLanguage) at DotNetNuke.UI.Skins.Controls.LanguagePropertyAccess.GetProperty(String strPropertyName, String strFormat, CultureInfo formatProvider, UserInfo AccessingUser, Scope CurrentScope, Boolean& PropertyNotFound) at DotNetNuke.Services.Tokens.BaseCustomTokenReplace.replacedTokenValue(String strObjectName, String strPropertyName, String strFormat) at DotNetNuke.Services.Tokens.BaseTokenReplace.ReplaceTokens(String strSourceText) at DotNetNuke.Services.Tokens.TokenReplace.ReplaceTokens(String strSourceText) at DotNetNuke.Services.Tokens.TokenReplace.ReplaceEnvironmentTokens(String strSourceText) at DotNetNuke.UI.Skins.Controls.Language.parseTemplate(String template, String locale) --- End of inner exception stack trace ---
 
New Post
5/5/2011 12:36 PM
 
Still have this problem...
No hints? Anyone?
 
New Post
5/8/2011 12:25 PM
 
For those who bump into this problem, here's what i had to do:
First, deleted every module for each secondary language page created,
Then, on each page settings, at localization section, clicked the Ready for Localization link,
in order to re-copy all the module content for the selected page.

Thank you,

Luis Neves
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...An item with the same key has already been addedAn item with the same key has already been 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