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.
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
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.
(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.
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
what version did u upgrade from ?
I came form 4.9
Is System.Web.Mvc.dll in the /bin folder?
Yes, it is. I've also tried to remove it. Didn't help
Which version of the MVC-dll do you have in the /bin?
The 3.0 version
Can u try compare global.asax from u solution with the one found in 4.11 zipfile
Troels,
I didn't have one so I just copied over the one from the zip
and now it is running like a charm ?
No, the problem remains after the copy action
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.
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.
Hi Vincent, what exactly was the problem with web.config?
I seem to have the exact same exceptions after upgrading.
Thanks in advance!
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.
Okay. In my case it was the new Umbraco HTTP Module that I added to <system.webServer> but not to <system.web>
is working on a reply...