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,
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.
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?
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.
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
If anybody ever runs into this, just fixed it by adding the following to the app.config.
is working on a reply...