Copied to clipboard

Flag this post as spam?

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


  • Vincent Baaij 95 posts 344 karma points c-trib
    Nov 26, 2012 @ 09:39
    Vincent Baaij
    0

    Problems after updating to 4.11

    Hi, 2 problems emerged after updating a (local) site to 4.11:In the backoffice I get the following error after clicking on a node in the content tree:Value cannot be null.Parameter name: umbracoContext Stack trace:[ArgumentNullException: Value cannot be null.Parameter name: umbracoContext]   Umbraco.Web.UmbracoHelper..ctor(UmbracoContext umbracoContext) +134   umbraco.library.ReplaceLineBreaks(String text) +44   umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +2353   umbraco.controls.ContentControl.CreateChildControls() +1772   System.Web.UI.Control.EnsureChildControls() +189   umbraco.controls.ContentControl.OnInit(EventArgs e) +51   System.Web.UI.Control.InitRecursive(Control namingContainer) +186   System.Web.UI.Control.AddedControl(Control control, Int32 index) +189   umbraco.cms.presentation.editContent.OnInit(EventArgs e) +1007   System.Web.UI.Control.InitRecursive(Control namingContainer) +186   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +At te site itself (on every page):Object reference not set to an instance of an objectStack trace:[NullReferenceException: Object reference not set to an instance of an object.]   umbraco.UmbracoDefault.OnPreInit(EventArgs e) +202   System.Web.UI.Page.PerformPreInit() +48   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1843Any help appreciated.

  • Vincent Baaij 95 posts 344 karma points c-trib
    Nov 26, 2012 @ 10:06
    Vincent Baaij
    0

    (crap, could not edit original post)

    Hi, 2 problems emerged after updating a (local) site to 4.11:

    In the backoffice I get the following error after clicking on a node in the content tree:

    Value cannot be null.Parameter name: umbracoContext

    Stack trace:
    [ArgumentNullException: Value cannot be null.Parameter name: umbracoContext]   Umbraco.Web.UmbracoHelper..ctor(UmbracoContext umbracoContext) +134   umbraco.library.ReplaceLineBreaks(String text) +44   umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +2353   umbraco.controls.ContentControl.CreateChildControls() +1772   System.Web.UI.Control.EnsureChildControls() +189   umbraco.controls.ContentControl.OnInit(EventArgs e) +51   System.Web.UI.Control.InitRecursive(Control namingContainer) +186   System.Web.UI.Control.AddedControl(Control control, Int32 index) +189   umbraco.cms.presentation.editContent.OnInit(EventArgs e) +1007   System.Web.UI.Control.InitRecursive(Control namingContainer) +186   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +

    At te site itself (on every page):
    Object reference not set to an instance of an object

    Stack trace:
    [NullReferenceException: Object reference not set to an instance of an object.]   umbraco.UmbracoDefault.OnPreInit(EventArgs e) +202   System.Web.UI.Page.PerformPreInit() +48   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1843

    Any help appreciated.

  • Stephen Davidson 216 posts 391 karma points
    Nov 26, 2012 @ 16:15
    Stephen Davidson
    0

    Just done this very update and dont have that issue, but i have very few packages installed, could it be related to packages you have installed?

    Although i should point out i went from 4.10.1 to 4.11

    S

  • Troels Larsen 75 posts 280 karma points
    Nov 26, 2012 @ 17:00
    Troels Larsen
    0

    what version did u upgrade from ? 

  • Vincent Baaij 95 posts 344 karma points c-trib
    Nov 26, 2012 @ 17:06
    Vincent Baaij
    0

    I came form 4.9

  • Arie 224 posts 675 karma points
    Nov 27, 2012 @ 21:13
    Arie
    0

    Is System.Web.Mvc.dll in the /bin folder?

  • Vincent Baaij 95 posts 344 karma points c-trib
    Nov 28, 2012 @ 09:05
    Vincent Baaij
    0

    Yes, it is. I've also tried to remove it. Didn't help

  • Arie 224 posts 675 karma points
    Nov 28, 2012 @ 14:54
    Arie
    0

    Which version of the MVC-dll do you have in the /bin?

  • Vincent Baaij 95 posts 344 karma points c-trib
    Nov 28, 2012 @ 14:55
    Vincent Baaij
    0

    The 3.0 version

  • Troels Larsen 75 posts 280 karma points
    Nov 28, 2012 @ 16:49
    Troels Larsen
    0

    Can u try compare global.asax from u solution with the one found in 4.11 zipfile

      

  • Vincent Baaij 95 posts 344 karma points c-trib
    Nov 28, 2012 @ 16:51
    Vincent Baaij
    0

    Troels,

     

    I didn't have one so I just copied over the one from the zip

  • Troels Larsen 75 posts 280 karma points
    Nov 28, 2012 @ 17:46
    Troels Larsen
    0

    and now it is running like a charm ? 

  • Vincent Baaij 95 posts 344 karma points c-trib
    Nov 28, 2012 @ 18:02
    Vincent Baaij
    0

    No, the problem remains after the copy action

  • Vincent Baaij 95 posts 344 karma points c-trib
    Nov 29, 2012 @ 08:26
    Vincent Baaij
    0

    Ok, it finally works again. I've compared the default 4.11 web.config with the one from the site and appareantly had some difference between them.

     

    All is good now. Thanks for all the suggestions.

  • Vincent Baaij 95 posts 344 karma points c-trib
    Nov 29, 2012 @ 08:27
    Vincent Baaij
    1

    Ok, it finally works again. I've compared the default 4.11 web.config with the one from the site and appareantly had some difference between them.

     

    All is good now. Thanks for all the suggestions.

  • Michiel 137 posts 294 karma points
    Dec 07, 2012 @ 17:42
    Michiel
    0

    Hi Vincent, what exactly was the problem with web.config?

    I seem to have the exact same exceptions after upgrading.

    Thanks in advance!

  • Vincent Baaij 95 posts 344 karma points c-trib
    Dec 07, 2012 @ 18:56
    Vincent Baaij
    0

    Michiel,

     

    I basicly tried to run a 4.11 site with a 4.9 web.config. I solved it by comparing the web.config with the one supplied in the 4.11 download.

  • Michiel (NSC) 95 posts 115 karma points
    Dec 07, 2012 @ 21:51
    Michiel (NSC)
    0

    Okay. In my case it was the new Umbraco HTTP Module that I added to <system.webServer> but not to <system.web>

Please Sign in or register to post replies

Write your reply to:

Draft