Copied to clipboard

Flag this post as spam?

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


  • John 1 post 21 karma points
    Feb 07, 2013 @ 14:52
    John
    0

    NullReferenceException after pressing 'Set up your new website' error (loadxml , applicationtree in stack )

    Hi

    I downloaded UmbracoCMS6.0.0 and I'm running it through visual studion 10, connecting to SQL Server 12.

    (on windows 7).

    Initially I had a few errors with ASCX's referring to :

    UmbracoVersion.Current.ToString(3)

    changing this to :

    umbraco.

     

    GlobalSettings.CurrentVersion

    resolved these problems.

    Then in the database install the page stalled and didn't move to the next step.

    Anyhow, the database back end looked like it set up correctly.

    I proceeded use the blank template option.

    But the problem I can not now get around is that when I press the 'Set up your new website button' I get the following.

    [NullReferenceException: Object reference not set to an instance of an object.]
       umbraco.BusinessLogic.<>c__DisplayClass14.<EnsureCache>b__12(XDocument doc) +1323
       umbraco.BusinessLogic.ApplicationTree.LoadXml(Action`1 callback, Boolean saveAfterCallback) +191
       umbraco.BusinessLogic.ApplicationTree.EnsureCache() +252
       umbraco.BusinessLogic.ApplicationTree.get_AppTrees() +25
       umbraco.BusinessLogic.ApplicationTree.getAll() +25
       umbraco.cms.presentation.Trees.TreeDefinitionCollection.EnsureTreesRegistered(Boolean clearFirst) +279
       umbraco.cms.presentation.Trees.TreeDefinitionCollection.get_Instance() +32
       umbraco.controls.Tree.TreeControl.Initialize() +361
       umbraco.controls.Tree.TreeControl.OnPreRender(EventArgs e) +93
       System.Web.UI.Control.PreRenderRecursiveInternal() +103
       System.Web.UI.Control.PreRenderRecursiveInternal() +175
       System.Web.UI.Control.PreRenderRecursiveInternal() +175
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496
    


    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

     

    1.Please can some one help?

    2. Is the source code for umbraco.busineslogic dll available?

     

    Many thanks John

     

     

     

     

  • Jan Skovgaard 11247 posts 23464 karma points MVP 7x admin c-trib
    Feb 10, 2013 @ 22:37
    Jan Skovgaard
    0

    Hi John and welcome to our :)

    Could you describe your installation process a bit more detailed? I'm not sure how it is you're trying to setup Umbraco from what you write above.

    Looking forward to hearing from you.

    /Jan

  • TARUN SAHANI 3 posts 73 karma points
    Aug 31, 2018 @ 03:05
    TARUN SAHANI
    0

    Hi Jan,

    I am also facing the same issue.

    I have downloaded umbraco 6 version and followed steps from. https://www.wiliam.com.au/wiliam-blog/upgrading-umbraco-4-x-to-7-x

    4.11.10 > 6.0.0 Download 6.0.0 from the archive.

    Copy and overwrite:

    /install /bin /Umbraco /Umbraco_Client Copy and overwrite, then merge in changes:

    /Config /Global.asax /web.config /Views/web.config

    Can you please help me.

    Thanks in advance.

Please Sign in or register to post replies

Write your reply to:

Draft