Copied to clipboard

Flag this post as spam?

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


  • Stig Kulvedrøsten 48 posts 69 karma points
    Aug 05, 2010 @ 13:57
    Stig Kulvedrøsten
    0

    Object reference not set to an instance of an object after upgrade

    I upgraded a site from 4.0.x to 4.5.1 and now I get a 

    Object reference not set to an instance of an object.

    when I try to edit content in the backend.
    Anyone got the same problem? What could cause this? Custom controls? I've seen similar post, but none related to upgrade to 4.5.1

    Stacktrace:

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +248
       umbraco.controls.ContentControl.CreateChildControls() +1428
       System.Web.UI.Control.EnsureChildControls() +181
       umbraco.controls.ContentControl.OnInit(EventArgs e) +126
       System.Web.UI.Control.InitRecursive(Control namingContainer) +132
       System.Web.UI.Control.AddedControl(Control control, Int32 index) +276
       umbraco.cms.presentation.editContent.OnInit(EventArgs e) +2117
       System.Web.UI.Control.InitRecursive(Control namingContainer) +132
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1953
    

  • Fredrik Esseen 610 posts 906 karma points
    Aug 05, 2010 @ 14:25
    Fredrik Esseen
    0

     It sounds that a datatype that you use on that document type is missing. For me this happened when I used media Picker with Preview on a document but the dll was missing. Did you delete all dlls prior to upgrade perhaps..?

  • Stig Kulvedrøsten 48 posts 69 karma points
    Aug 05, 2010 @ 14:26
    Stig Kulvedrøsten
    0

    All dll's was deleted yes, and my page uses Media Picker with Preview :)

    Worked like a charm! Thanks :)

Please Sign in or register to post replies

Write your reply to:

Draft