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 in "ready for translation" clickException in "ready for translation" click
Previous
 
Next
New Post
1/29/2011 9:11 AM
 
Hi,

I can't use the translation feature because when I click the "ready for translation" link in the Settings for the page, I always get the following exception (taken from the events viewer):

AssemblyVersion: 5.6.1
PortalID: 6
PortalName: FIDAMC
UserID: 1
UserName: host
ActiveTabID: 296
ActiveTabName: Home
RawURL: /Home/tabid/296/ctl/Tab/action/edit/language/en-US/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://dev-fidamc.unusualfactory.com/Home/tabid/296/ctl/Tab/action/edit/language/en-US/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: c2407cc0-50ae-4804-964b-cd203a058acd
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.Modules.ModuleController.AddModulePermission(ModuleInfo& objModule, Int32 portalId, String roleName, PermissionInfo permission, String permissionKey) at DotNetNuke.Entities.Modules.ModuleController.LocalizeModuleInternal(ModuleInfo sourceModule) at DotNetNuke.Entities.Modules.ModuleController.LocalizeModule(ModuleInfo sourceModule, Locale locale) at DotNetNuke.Modules.Admin.Tabs.ManageTabs.readyForTranslationButton_Click(Object sender, EventArgs e) at DotNetNuke.UI.WebControls.CommandButton.OnButtonClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source
Server Name: MWWD661


The content location system worked at first, but then suddenly it broke, I don't remember what I did but I can assure that it wasn't anything estrange.

The side-effect of getting this exception is of course that the new submodules created in the localized page are not detached from the default culture, because the code that does it never gets to be executed (because the exception).

I'd like to know what to do now, please... revert to backup? is there a quick fix?

Thanks
 
New Post
1/31/2011 7:30 AM
 
I surrendered and restored from backup. I wanted to restart from scratch, trying to not provoke an exception.... But after 5 minutes of reenabling content localization, I got the following (different) exception:

AssemblyVersion: 5.6.1
PortalID: 6
PortalName: FIDAMC
UserID: 1
UserName: host
ActiveTabID: 296
ActiveTabName: Inicio
RawURL: /Inicio/tabid/296/ctl/Tab/action/edit/language/es-ES/Default.aspx
AbsoluteURL: /Default.aspx
AbsoluteURLReferrer: http://dev-fidamc.unusualfactory.com/Inicio/tabid/296/ctl/Tab/action/edit/language/es-ES/Default.aspx
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 7988b8ce-2159-47ed-af8e-93bbccf44bca
InnerException: Object reference not set to an instance of an object.
FileName
FileLineNumber: 0
FileColumnNumber: 0
Method: DotNetNuke.Modules.Admin.Tabs.ManageTabs.readyForTranslationButton_Click
StackTrace
Message: DotNetNuke.Services.Exceptions.PageLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Modules.Admin.Tabs.ManageTabs.readyForTranslationButton_Click(Object sender, EventArgs e) at DotNetNuke.UI.WebControls.CommandButton.OnButtonClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.OnClick(EventArgs e) at System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace ---
Source
Server Name: MWWD661


Content localization is not ready for prime time. I'm reverting to backup again and using Ealo.
 
New Post
7/18/2011 8:43 AM
 
Hi Victor
I had exactly the same problems as you. I never found this exception in version 5.6.0 on localhost but after upgrading from version 5.6.2 to version 5.6.3 on a webserver.
Restoring version 5.6.2 helped to fix the problems with new pages, but not in that pages, I created from templates from version 5.6.0!
Any ideas? Is this really a problem that appeard with the upgrade from 5.6.0 to 5.6.1 and that gets worse with each new upgrade?

I really would like to use the core content localization and I don't want to rebuild my portal and use other modules for content localization.
 
New Post
7/20/2011 8:20 AM
 
there might be an issue with templates, please avoid using templates from previous versions after an upgrade.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
7/21/2011 12:13 PM
 
I solved my problems by restoring the portal in version 5.6.2 and creating all pages without using templates. After upgrading to version 5.6.3 it runs fine without any problems.
Be aware of always klick the update-link in the Page settings after doing somthing in the Localization sector, even if it seems, that it's not necessary. I think that this (and not using templates from other versions) was the key for solving the problems!
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Exception in "ready for translation" clickException in "ready for translation" click


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