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...DotNetNuke.Services.Exceptions.ModuleLoadException: Sequence contains more than one element DotNetNuke.Services.Exceptions.ModuleLoadException: Sequence contains more than one element
Previous
 
Next
New Post
3/10/2011 6:55 AM
 
OK. I'll set up a debug environment, and try to figure out what is happening there. I'll post my findings here, as soon as could review this.
Thanks,
Horacio.-
 
New Post
3/14/2011 6:11 PM
Accepted Answer 
Hello,

I have the explanation. The problem is that there were two pages (tabs) with the same name. One was a URL link, and the other was a true page.
If you create a new page which is not a page, it is a URL, then the duplicate name is NOT checked (Advanced Settings > Link Url:). You are allowed to create this duplicate page name. This is a bug, right?
In addition, if you then update the URL page to be a regular page, no error is thrown (the condition that prevents duplicate page names to be created is not verified).

Side note: I've verified that e.g. in DNN 4.5.5 you can create a duplicated page name without issues. If someone has a legacy site with duplicate page names, it will be a problem.
I've seen that e.g. in 5.2.3  you are not allowed to create a duplicate page name at the same level. You get a friendly message "The Page Name you chose is already being used for another page at the same level of the page heirarchy."
BTW "heirarchy" is misspelled.

However, in 5.6.1 instead of this friendly message you get a not-friendly (unhanded) exception (bug?):
Error: is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Tab Exists ---> DotNetNuke.Entities.Tabs.TabExistsException: Tab Exists at DotNetNuke.Entities.Tabs.TabController.AddTabInternal(TabInfo objTab, Boolean includeAllTabsModules) at DotNetNuke.Entities.Tabs.TabController.AddTabAfter(TabInfo objTab, Int32 afterTabId) at DotNetNuke.Modules.Admin.Tabs.ManageTabs.SaveTabData(String strAction) at DotNetNuke.Modules.Admin.Tabs.ManageTabs.cmdUpdate_Click(Object Sender, EventArgs e) --- End of inner exception stack trace ---


And trying to create a duplicate page name (not in the same level) other nasty exception is thrown (the page is created anyway). bug?:
Error: is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.Entities.Tabs.TabController.CreateLocalizedCopy(TabInfo originalTab, Locale locale) in F:\wwwroot\DNN561src\Library\Entities\Tabs\TabController.vb:line 1139 at DotNetNuke.Entities.Tabs.TabController.CreateLocalizedCopies(TabInfo originalTab) in F:\wwwroot\DNN561src\Library\Entities\Tabs\TabController.vb:line 1103 at DotNetNuke.Modules.Admin.Tabs.ManageTabs.SaveTabData(String strAction) at DotNetNuke.Modules.Admin.Tabs.ManageTabs.cmdUpdate_Click(Object Sender, EventArgs e) --- End of inner exception stack trace ---

I guess these two last exceptions happens just when localization is enabled and DNN is trying to copy the pages to the other languages.

Best,
Horacio.-





 
New Post
3/14/2011 8:17 PM
 
Hi Horacio,
thank you for tracing this down. I agree, that there shouldn't be an issue, having 2 pages wih same name on a site, but not siblings of the same parent (at least, if Human friendly URLs are turned on). There should be no issue depending on the type of the page. IMHO, Page Localization is a subject by its own (I had a couple of discussions about it during the past weeks).

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/14/2011 11:45 PM
 
Great. I'm glad the problem was isolated and the DNN core team is aware of it. If possible, we would really appreciate knowing what version this will be fixed in, so that we can advise our LMS clients who are using 3 or more languages in their localized installations. Could we be notified of a bug tracking number that we could monitor for resolution and release? Thanks, Chris



Chris Wylie
Chief Executive Officer
www.AccordLMS.com
1775 W. State Street Suite 371, Boise ID 83702 USA
 
 
New Post
3/15/2011 10:42 AM
 
Chris, I logged the error at http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=15223&PROJID=2

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...DotNetNuke.Services.Exceptions.ModuleLoadException: Sequence contains more than one element DotNetNuke.Services.Exceptions.ModuleLoadException: Sequence contains more than one element


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