Copied to clipboard

Flag this post as spam?

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


  • Tom 713 posts 954 karma points
    Nov 14, 2014 @ 07:34
    Tom
    0

    6.0.5 - ContentService publish/unpublish throws referring to AspNetXmlSitemapProvider

    Hi Guys,

    Using 6.0.5 and running a migration and we're seeing

    Unhandled Exception: System.Configuration.ConfigurationErrorsException: The provider 'AspNetXmlSiteMapProvider' specified for the defaultProvider does not exist in the providers collection.

    at System.Web.Configuration.SiteMapSection.ValidateDefaultProvider()

    at System.Web.SiteMap.Initialize()

    at umbraco.content.PublishNodeDo(Document d, XmlDocument xmlContentCopy, Boolean updateSitemapProvider)

    at umbraco.content.UpdateDocumentCache(Document d)

    at Umbraco.Web.Strategies.Publishing.UpdateCacheAfterPublish.UpdateSingleContentCache(IContent content)

    at Umbraco.Web.Strategies.Publishing.UpdateCacheAfterPublish.PublishingStrategy_Published(IPublishingStrategy sender,

    PublishEventArgs`1 e)

    at Umbraco.Core.Events.EventExtens

    ions.RaiseEvent[TSender,TArgs](TypedEventHandler`2 eventHandler, TArgs args, TSende

    r sender)

       at Umbraco.Core.Publishing.PublishingStrategy.PublishingFinalized(IContent content)

       at 

     

    Nowhere can we see a reference to the sitemap provider they're referring to.. just wondering if anyone had any suggestions.. we've tried adding umbraco/examine.config to our migrations project.

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Nov 14, 2014 @ 07:54
    Jan Skovgaard
    0

    Hi Tom

    What kind of migration are you doing? Is it from another Umbraco installation or is it form something else like Sharepoint?

    There was some sitemap provider configuration in the web.config once but it got removed since there was no need for it really. Don't if it might help to add it in your case though?

    /Jan

  • Wietze Strik 27 posts 131 karma points
    Aug 10, 2016 @ 07:10
    Wietze Strik
    2

    If anybody ever runs into this, just fixed it by adding the following to the app.config.

    <siteMap>
      <providers>
        <add name="AspNetXmlSiteMapProvider" type="System.Web.XmlSiteMapProvider, System.Web, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" siteMapFile="web.sitemap" securityTrimmingEnabled="true"/>
      </providers>
    </siteMap>
    
Please Sign in or register to post replies

Write your reply to:

Draft