Copied to clipboard

Flag this post as spam?

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


  • Claus Nedergaard 62 posts 104 karma points
    Aug 18, 2013 @ 21:38
    Claus Nedergaard
    0

    Root element missing error when trying to login

    My client have run this site for 4 months with no problems.

    Now it throws this Exception Details: System.Xml.XmlException: Root element is missing.

    Stack Trace: 

    [XmlException: Root element is missing.]
       System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) +198
       System.Xml.XmlTextReaderImpl.ParseDocumentContent() +5206540
       System.Xml.Linq.XDocument.Load(XmlReader reader, LoadOptions options) +61
       System.Xml.Linq.XDocument.Load(String uri, LoadOptions options) +143
       umbraco.BusinessLogic.ApplicationTree.LoadXml(Action`1 callback, Boolean saveAfterCallback) +129
       umbraco.BusinessLogic.ApplicationTree.EnsureCache() +255
       umbraco.BusinessLogic.ApplicationTree.get_AppTrees() +9
       umbraco.cms.presentation.Trees.TreeDefinitionCollection.EnsureTreesRegistered(Boolean clearFirst) +241
       umbraco.controls.Tree.TreeControl.Initialize() +231
       umbraco.controls.Tree.TreeControl.OnPreRender(EventArgs e) +193
       System.Web.UI.Control.PreRenderRecursiveInternal() +113
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Control.PreRenderRecursiveInternal() +222
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4201

    Neither of us can login to the backend.

    Any ideas?

  • Sam 2 posts 24 karma points
    Mar 06, 2014 @ 23:00
    Sam
    0

    Hi Claus,

    Have you fixed the issue? I have the same login problem.

  • Danny Summers 22 posts 82 karma points
    Mar 31, 2014 @ 12:08
    Danny Summers
    0

    Hi guys,

    Any word back on this one?  We're seeing the exact same error upon login.  A lot of the related issues I'm seeing are all to do with creating packages, which we don't do.

    Has any one else managed to fix this issue?

    We're running Umbraco 6.0.5

    Many thanks,
    Danny 

  • Claus Nedergaard 62 posts 104 karma points
    Mar 31, 2014 @ 12:56
    Claus Nedergaard
    100

    Hi,

     

    No - unfortunenately we never managed to locate the error. We did a restore from the backup.

    Very fristrating since it came out of the blue.

  • Sam 2 posts 24 karma points
    Mar 31, 2014 @ 13:06
    Sam
    2

    Hi,

     

    I've found that my tree.conf was empty. The file content restoring fixed the issue.

  • Danny Summers 22 posts 82 karma points
    Apr 14, 2014 @ 01:15
    Danny Summers
    0

    Thanks Sam - this seems to have fixed the issue for us.  Thank you so much for the tip!

  • Jason Prothero 422 posts 1243 karma points c-trib
    Sep 15, 2015 @ 15:46
    Jason Prothero
    0

    Yea, we had the same issue when the disk was full. The trees.config was empty and caused this issue.

  • Nontobeko 1 post 71 karma points
    Oct 20, 2015 @ 07:55
    Nontobeko
    0

    my customer is unable to login,he recieved an error massage "unexpected error occured,root element missing"....help

Please Sign in or register to post replies

Write your reply to:

Draft