找不到设置属性“ CategoriesRootNode”

时间:2019-08-01 01:59:10

标签: c# configuration umbraco umbraco7

每次我们第一次运行应用程序时都会得到以下异常

 Umbraco.Core.UmbracoApplicationBase - An unhandled exception occurred
System.Configuration.SettingsPropertyNotFoundException: The settings property 'CategoriesRootNode' was not found.
   at System.Configuration.SettingsBase.GetPropertyValueByName(String propertyName)
   at System.Configuration.SettingsBase.get_Item(String propertyName)
   at System.Configuration.ApplicationSettingsBase.GetPropertyValue(String propertyName)
   at System.Configuration.ApplicationSettingsBase.get_Item(String propertyName)
   at PacDig.Atlantic.Cms.Properties.Settings.get_CategoriesRootNode()
   at PacDig.Atlantic.Services.Content.CategoryContentService.AddToCache()
   at PacDig.Atlantic.Services.Content.ContentMasterDetails.Populate(IContentMaster content, Int32 relatedContentCount, String categoryQueryString, String path, Boolean canHaveCategorySponsorship)
   at PacDig.Atlantic.Services.Controllers.Handlers.ArticleControllerCommandHandler.Index(IPublishedContent content, Int32 relatedContentCount, String categoryQueryString, String path)
   at PacDig.Atlantic.Cms.Controllers.ArticlePageController.Index(RenderModel model)
   at lambda_method(Closure , ControllerBase , Object[] )

settings.cs中已经缺少属性'categoriesrootnode'

我们不确定为什么会发生此异常。

任何帮助表示赞赏

谢谢

0 个答案:

没有答案