Copied to clipboard

Flag this post as spam?

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


  • Russ Lawrence 2 posts 22 karma points
    Jun 17, 2011 @ 16:06
    Russ Lawrence
    0

    Object reference not set to an instance of an object.

    Publishing a website for a client. Home page was working fine, now has an error.

    Any page we try to have as the root page (URL showing in Umbraco as "/") throws the error below.

    Any sub page we publish shows up fine.

    We didn't do anything to the page, I promise. We did upgrade our hosting to a higher site memory allocation, but nothing else there changes either.

    Please help!

    Umbraco v 4.7.0 (Assembly version: 1.0.4090.38017)

    asp.net 4.0 

    Windows server 2003 / MYSQL / IIS version 6

    Stacktrace:

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.requestHandler..ctor(XmlDocument umbracoContent, String url) +4431
       umbraco.UmbracoDefault.Page_PreInit(Object sender, EventArgs e) +1062
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
       System.EventHandler.Invoke(Object sender, EventArgs e) +0
       System.Web.UI.Page.OnPreInit(EventArgs e) +8876158
       System.Web.UI.Page.PerformPreInit() +31
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +328

  • Anders Brohäll 295 posts 561 karma points c-trib
    Feb 01, 2012 @ 09:16
    Anders Brohäll
    0

    I have the exact same problem (on 4.7.1).

    Did you solve it?

  • Russ Lawrence 2 posts 22 karma points
    Feb 01, 2012 @ 14:09
    Russ Lawrence
    0

    Hello Anders.

    Yes, the problem was solved. In our case, this was not an Umbraco issue. The client was using WinHost for their hosting services, and the problem was the propogation of the site through their servers. At first, we upgraded the client's plan so it met the requirements of WinHost, but it turned out that wasn't the problem. Working with WinHost support for over a week, they fixed something on their end, then we had to completely wipe the site off their servers and recopy it back again. Then it worked.

    So... moral is... check the hosting environment first to ensure it meets with the requirements to properly host your Umbraco site. If that is ruled out, I'm afraid I can't help further...

    Good Luck! 

  • Anders Brohäll 295 posts 561 karma points c-trib
    Feb 01, 2012 @ 14:23
    Anders Brohäll
    0

    Ah.

    Well, mine got solved when republishing the site using <useLegacyXmlSchema>true<useLegacyXmlSchema> in umbracoSettings.config.
    That site is a mishmash of old v4-versions wich might be the reason.

Please Sign in or register to post replies

Write your reply to:

Draft