Copied to clipboard

Flag this post as spam?

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


  • Cédric Verstraeten 5 posts 25 karma points
    Dec 05, 2014 @ 19:21
    Cédric Verstraeten
    0

    IIS timeouts on valueDictionary

    We are detecting random issues on a umbraco 7 web application. 

    2014-12-05 17:28:35,228 [6] ERROR ExceptionLogger - The valueDictionary is not formatted correctly and is missing any of the  'id,nodeId,__NodeId' elements

    System.FormatException: The valueDictionary is not formatted correctly and is missing any of the  'id,nodeId,__NodeId' elements

       at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.DictionaryPublishedContent.ValidateAndSetProperty(IDictionary`2 valueDictionary, Action`1 setProperty, String[] potentialKeys)

       at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.DictionaryPublishedContent..ctor(IDictionary`2 valueDictionary, Func`2 getParent, Func`2 getChildren, Func`3 getProperty, Boolean fromExamine)

       at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.ConvertFromXPathNavigator(XPathNavigator xpath)

       at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedMediaCache.GetUmbracoMedia(Int32 id)

       at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.GetById(Boolean preview, Int32 contentId)

       at Umbraco.Web.PublishedContentQuery.DocumentById(Int32 id, ContextualPublishedCache cache, Object ifNotFound)

       at ASP._Page_Views_Partials__Header_cshtml.Execute() in d:\Websites\Trafigura_Reboot\Views\Partials\_Header.cshtml:line 3

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()

       at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)

       at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)

       at System.Web.Mvc.Html.RenderPartialExtensions.RenderPartial(HtmlHelper htmlHelper, String partialViewName, Object model, ViewDataDictionary viewData)

       at ASP._Page_Views_Layout_cshtml.Execute() in d:\Websites\Trafigura_Reboot\Views\Layout.cshtml:line 70

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy()

       at System.Web.Mvc.WebViewPage.ExecutePageHierarchy()

       at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage)

       at System.Web.WebPages.WebPageBase.RenderSurrounding(String partialViewName, Action`1 body)

       at System.Web.WebPages.WebPageBase.PopContext()

       at Umbraco.Core.Profiling.ProfilingView.Render(ViewContext viewContext, TextWriter writer)

       at System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context)

       at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass1a.<InvokeActionResultWithFilters>b__17()

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

       at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)

       at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult)

     

    When we set the cache to 0 in the umbracoSettings config file, the website runs oke.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Dec 05, 2014 @ 20:00
    Jan Skovgaard
    0

    Hi Cédric

    What exact version of Umbraco 7 are you using?

    Are you making use of any 3rd party packages? Has there been any customization of the backoffice using the API or integrating of other 3rd party services?

    Are you using CE SQL, MSSQL or perhaps running the site on Azure?

    Please provide as much information about your installation as possible, which will hopefully make it easier to figure out what the issue is.

    /Jan

  • Cédric Verstraeten 5 posts 25 karma points
    Dec 05, 2014 @ 21:13
    Cédric Verstraeten
    0

    Hey Jan

    We are using Umbraco 7.1.8 and using MSSQL. We did a clean installation with NuGet an didn't installed any package. The issue is throwing at random, but it showed some strange behavior, if we updated our web.config file. After we changed the config file, and refresh the page in our browser the website crashed. In our log files we could find the issues throwed above. As the updating of the web.config would refresh the APP Pool, we could restore the website by resetting it again through IIS. After the manual reset, the website was loading correctly for some time, and then the issue showed up againa.

    We had the issue "sometimes" on staging, but now on production it is getting very aggressive and it is crashing at random intervals. We can't simulate the behaviour by accessing different pages though..

    Now we have disabled the caching in the umbracoSettings and the website is now running fine and no errors have been thrown since then.

     

    <!-- Cache cycle of Media and Member data fetched from the umbraco.library methods -->

        <!-- In seconds. 0 will disable cache -->

    <UmbracoLibraryCacheDuration>0</UmbracoLibraryCacheDuration>

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Dec 05, 2014 @ 21:28
    Jan Skovgaard
    0

    Hi Cédric

    Turns out it's actually a known bug in 7.1.8, which has been fixed in the release of 7.2 final according to the issue tracker http://issues.umbraco.org/issue/U4-5711

    So perhaps it's worth considering an upgrade :)

    /Jan

  • Cédric Verstraeten 5 posts 25 karma points
    Dec 05, 2014 @ 21:43
    Cédric Verstraeten
    0

    Thanks FYI! How easy will an update be from 7.1.8 to 7.2.0? We have tons of content already..

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Dec 05, 2014 @ 22:17
    Jan Skovgaard
    0

    Hi Cédric

    It should be fairly simple - In the release notes here you'll find the relevant information http://our.umbraco.org/contribute/releases/720

    But before you beging the upgrade make sure to make a backup of your database and your files so it's easy to rollback if something unexpected should happen.

    Hope this helps.

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft