Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Simon Dingley 1474 posts 3431 karma points c-trib
    Nov 10, 2010 @ 18:08
    Simon Dingley
    0

    Multiple nodes with the same URL

    Installation info:

    • Umbraco v4.0.3
    • ASP.Net v3.5
    • IIS 7
    • Windows Server 2008 Web Edition
    • ASP.NET Security Vulnerability Patch

    Exception

    Error adding to SiteMapProvider: System.InvalidOperationException: Multiple 
    nodes with the same URL 
    '???.aspx' 
    were found. XmlSiteMapProvider requires that sitemap nodes have unique URLs. at 
    System.Web.StaticSiteMapProvider.AddNode(SiteMapNode node, SiteMapNode 
    parentNode) at 
    umbraco.presentation.nodeFactory.UmbracoSiteMapProvider.loadNodes(String 
    parentId, SiteMapNode parentNode)

    For some reason there is a large number of these exceptions appearing in the logs - can anyone shed any light on this and how it can be possible?

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Nov 10, 2010 @ 18:14
    Douglas Robar
    0

    Step 1 - backup everything

    Step 2 - right-click and republish all the top-most pages of the site, including their child pages

    Step 3 - right-click and 'republish entire website' from the 'Content' node at the top of the treeview

    That will recalculate all urls on all pages (step 2) and also refresh the memory cache of the site (step 3).

    Any change?

    cheers,
    doug.

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Nov 10, 2010 @ 18:14
    Stefan Kip
    0

    It means you have nodes which have exactly the same url (after dns name).

    Is it an umbraco installation with multiple websites?

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Nov 10, 2010 @ 18:23
    Simon Dingley
    0

    I will try your suggestion Doug and feedback. 

    kipusoep, it's not a multi-site install. I did find a similar thread on that topic but no resolution.

  • Simon Dingley 1474 posts 3431 karma points c-trib
    Nov 15, 2010 @ 10:30
    Simon Dingley
    0

    Slight problem with step 2 at the moment since due to the size of the site and the number of editors there are pending changes to be published so I am not in a position to do this on their behalf at this time. However I have found at least 2 nodes with exactly the same url, different id's so there is an obvious conflict here.

  • Douglas Robar 3570 posts 4711 karma points MVP ∞ admin c-trib
    Nov 15, 2010 @ 12:03
    Douglas Robar
    0

    I understand about pending changes; good catch on that.

    Can you open the two pages with the same url and just save+publish those pages individually? That will cuase the url to be recalculated for those two pages at least. Are they still the same url after publishing?

    Let us know what you find out.

    cheers,
    doug.

Please Sign in or register to post replies

Write your reply to:

Draft