Copied to clipboard

Flag this post as spam?

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


  • dominik 711 posts 733 karma points
    Nov 21, 2012 @ 15:54
    dominik
    0

    Application error after publishing

    Hello,

    Sometimes if we are trying to save an publish some content the following error occur:

    At /umbraco/editContent.aspx?id=4102 (Referred by: http://domain.com/umbraco/editContent.aspx?id=4102): System.Web.HttpException (0x80004005): Failed to load viewstate.  The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request.  For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.     at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)     at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)     at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)     at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)     at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)     at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)     at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)     at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)     at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)     at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)     at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)     at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)     at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)     at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)     at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)     at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)     at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)     at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)     at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)     at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)     at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)     at System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState)     at System.Web.UI.Control.LoadViewStateRecursive(Object savedState)     at System.Web.UI.Page.LoadAllState()     at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    The problem is that we are loosing all of the content which have been added so far

    We are using umbraco 4.7.2

    Can somebody help? Thanks

  • Vincent Hendriks 13 posts 35 karma points
    Nov 23, 2012 @ 10:43
    Vincent Hendriks
    0

    Are you using some kind of custom data type?

  • dominik 711 posts 733 karma points
    Nov 23, 2012 @ 11:08
    dominik
    0

    Hi Vincent yes we are using the embedded content on some pages. 

    Can this create this issue? If yes how we can ensure that this will not happen

  • Vincent Hendriks 13 posts 35 karma points
    Nov 23, 2012 @ 13:27
    Vincent Hendriks
    0

    Hi dominik,

    I don't have a straightforward answer unfortunately, but the reason i guessed this is because of the viewstate error. Seemed to me that somehow the viewstate was being influenced in some way and in that specific part of umbraco the only thing i could think of was custom datatypes/ custom controls.

    The thing i would do first is figure out if this is really the reason. Try (on a shadow copy or something) to see if it only happens to documents which contain this datatype.

    if, for example, it turns out it's the embedded content plugin you should post in their forum. if it's something else then atleast you get the search more focussed :)

    Good luck!

  • dominik 711 posts 733 karma points
    Nov 23, 2012 @ 13:33
    dominik
    0

    Hi Vincent,

    Thanks for you reply.

    The funny thing is that after reloading the content (F5) and publishing it again it works.

    This only occurs sometimes

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies