Copied to clipboard

Flag this post as spam?

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


  • Søren Mastrup 110 posts 495 karma points c-trib
    Sep 28, 2015 @ 11:02
    Søren Mastrup
    0

    The valueDictionary is not formatted correctly

    I am currently getting the following error on all pages that uses Umbraco.TypedMedia and Umbraco.Media:

    The valueDictionary is not formatted correctly and is missing any of the  'writerName' elements
    

    This is my Stack Trace:

    [FormatException: The valueDictionary is not formatted correctly and is missing any of the  'writerName' elements]
       Umbraco.Web.PublishedCache.XmlPublishedCache.DictionaryPublishedContent.ValidateAndSetProperty(IDictionary`2 valueDictionary, Action`1 setProperty, String[] potentialKeys) +311
       Umbraco.Web.PublishedCache.XmlPublishedCache.DictionaryPublishedContent..ctor(IDictionary`2 valueDictionary, Func`2 getParent, Func`2 getChildren, Func`3 getProperty, Boolean fromExamine) +1071
       Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.ConvertFromSearchResult(SearchResult searchResult) +1695
       Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.GetUmbracoMedia(Int32 id) +296
       Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId) +41
       Umbraco.Web.PublishedContentQuery.TypedDocumentById(Int32 id, ContextualPublishedCache cache) +43
       System.Dynamic.UpdateDelegates.UpdateAndExecute2(CallSite site, T0 arg0, T1 arg1) +1055
       ASP._Page_Views_Partials_mainMenu_cshtml.Execute() in d:\Web\stg-bureauer\Views\Partials\mainMenu.cshtml:12
       System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
       System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +136
       System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +195
       Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) +140
       System.Web.Mvc.Html.PartialExtensions.Partial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData) +134
       Umbraco.Web.<>c__DisplayClass1.<CachedPartialView>b__0() +28
       Umbraco.Core.Cache.<>c__DisplayClass1`1.<GetCacheItem>b__0() +15
       System.Lazy`1.CreateValue() +812
       System.Lazy`1.LazyInitValue() +452
       Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItem(String cacheKey, Func`1 getCacheItem, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, CacheDependency dependency) +780
       Umbraco.Core.Cache.HttpRuntimeCacheProvider.GetCacheItem(String cacheKey, Func`1 getCacheItem, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, String[] dependentFiles) +208
       Umbraco.Core.Cache.CacheProviderExtensions.GetCacheItem(IRuntimeCacheProvider provider, String cacheKey, Func`1 getCacheItem, Nullable`1 timeout, Boolean isSliding, CacheItemPriority priority, CacheItemRemovedCallback removedCallback, String[] dependentFiles) +264
       Umbraco.Web.CacheHelperExtensions.CachedPartialView(CacheHelper cacheHelper, HtmlHelper htmlHelper, String partialViewName, Object model, Int32 cachedSeconds, String cacheKey, ViewDataDictionary viewData) +432
       Umbraco.Web.HtmlHelperRenderExtensions.CachedPartial(HtmlHelper htmlHelper, String partialViewName, Object model, Int32 cachedSeconds, Boolean cacheByPage, Boolean cacheByMember, ViewDataDictionary viewData, Func`3 contextualKeyBuilder) +489
       ASP._Page_Views_Master_cshtml.Execute() in d:\Web\stg-bureauer\Views\Master.cshtml:85
       System.Web.WebPages.WebPageBase.ExecutePageHierarchy() +280
       System.Web.Mvc.WebViewPage.ExecutePageHierarchy() +136
       System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) +195
       System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +241
       System.Web.WebPages.WebPageBase.PopContext() +203
       System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body) +241
       System.Web.WebPages.WebPageBase.PopContext() +203
       Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer) +140
       System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +312
       System.Web.Mvc.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17() +33
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +628
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation) +628
       System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +263
       System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +230
       System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +854
       System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +1254
       System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult) +28
       System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
       System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +42
       System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
       System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +42
       System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +15
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +1303
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +2459
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +1010
    

    If I click the "Rebuild Index"-button to rebuild the InternalIndexer, the site starts to work as long the index is rebuilt - When it's done I get the same error.

    I have tried to stop the IIS, deleted the App_Data\TEMP\ExamineIndexes folder, but the problem still persist.

    How can I fix this? I am running Umbraco 7.2.4

  • Dennis Aaen 4434 posts 17891 karma points admin hq c-trib
    Sep 28, 2015 @ 12:20
    Dennis Aaen
    0

    Hi Søren,

    There is an issue on this on the issue tracker http://issues.umbraco.org/issue/U4-4338, but it´s for 7.1.2 and you are running 7.2.4.

    But try to see the issue and if it´s still an issue then open a new issue in the tracker.

    /Dennis

  • Søren Mastrup 110 posts 495 karma points c-trib
    Sep 28, 2015 @ 12:33
    Søren Mastrup
    0

    Created an issue on the issue tracker: http://issues.umbraco.org/issue/U4-7155

  • Dennis Aaen 4434 posts 17891 karma points admin hq c-trib
    Sep 28, 2015 @ 12:47
    Dennis Aaen
    0

    Hi Søren,

    What you also could try is of couse you could try to upgrade to the latest stable version, and see if the issue is solve there.

    In the new versions of Umbraco we always fix a lot of bugs, so you could try with 7.2.8 if it possible for you to upgrade the site.

    /Dennis

  • Michael Nielsen 99 posts 619 karma points
    Sep 28, 2015 @ 14:55
    Michael Nielsen
    100

    We've solved the issue.

    It was caused by the Internal Index Set configuration had been altered.

    This answer from Shannon led me to the cause http://issues.umbraco.org/issue/U4-4338#comment=67-14029

Please Sign in or register to post replies

Write your reply to:

Draft