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...Exception thrown when trying to Enable Localized ContentException thrown when trying to Enable Localized Content
Previous
 
Next
New Post
11/14/2014 3:59 AM
 

Hi,

I'm using DNN 07.01.01, whenever I try to "Enable Localized Content" in languages, it starts duplicating the pages and it hangs in the middle of the process thawing this exception:


AssemblyVersion: 7.1.1

PortalID: 0

PortalName: Toyota

UserID: 1

UserName: host

ActiveTabID: 71

ActiveTabName: Languages

RawURL: /toyota/en-us/Admin/Languages/ctl/EnableContent/mid/446?popUp=true&RadUrid=d45a0259-7f02-428c-9755-6a9978da2761

AbsoluteURL: /Toyota/Default.aspx

AbsoluteURLReferrer: http://localhost/toyota/en-us/Admin/Languages/ctl/EnableContent/mid/446?popUp=true

UserAgent: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.111 Safari/537.36

DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID: 3495bc0c-6411-4424-b70b-45e4deb75156

InnerException: Sequence contains more than one element

FileName:

FileLineNumber: 0

FileColumnNumber: 0

Method: System.Linq.Enumerable.SingleOrDefault

StackTrace:

Message: DotNetNuke.Services.Exceptions.PageLoadException: Sequence contains more than one element ---> System.InvalidOperationException: Sequence contains more than one element at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source) at DotNetNuke.Entities.Tabs.TabController.GiveTranslatorRoleEditRights(TabInfo localizedTab, Dictionary`2 users) at DotNetNuke.Entities.Tabs.TabController.CreateLocalizedCopy(TabInfo originalTab, Locale locale, Boolean clearCache) at DotNetNuke.Modules.Admin.Languages.EnableLocalizedContent.ProcessLanguage(List`1 pageList, Locale locale, Int32 languageCount, Int32 totalLanguages) in d:\Websites\toyota\DesktopModules\Admin\Languages\EnableLocalizedContent.ascx.cs:line 144 at DotNetNuke.Modules.Admin.Languages.EnableLocalizedContent.updateButton_Click(Object sender, EventArgs e) in d:\Websites\toyota\DesktopModules\Admin\Languages\EnableLocalizedContent.ascx.cs:line 225 at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---

Source:

Server Name: Majd

 

Please advise.

Thanks

 
New Post
11/17/2014 7:45 PM
 

Is it possible to upgrade the installation to the latest version?  There have been many changes and fixes in localisation since 7.1.1.  Repeating the test on the latest version may solve the problem.  You could take a local copy of the site and then upgrade it again to test if the problem still happens.

 
New Post
11/18/2014 1:08 AM
 

Thank you for reply.

Actually I managed to fix this by modifying the code to make it skip the page that causes that causes the exception to occur, and it worked fine.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Exception thrown when trying to Enable Localized ContentException thrown when trying to Enable Localized Content


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