Copied to clipboard

Flag this post as spam?

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


  • John 27 posts 49 karma points
    Jun 15, 2012 @ 12:49
    John
    0

    Templates - Root element is missing.

    Hi,

     

    I am currently having some issues with when accessing templates through the umbraco backend, whenever i try to access a template i get the following error message

    Server Error in '/' Application.

    Root element is missing.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.Xml.XmlException: Root element is missing.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [XmlException: Root element is missing.]
       System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) +198
       System.Xml.XmlTextReaderImpl.ParseDocumentContent() +5186924
       System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +172
       System.Xml.XmlDocument.Load(XmlReader reader) +144
       System.Xml.XmlDocument.Load(String filename) +205
       umbraco.cms.businesslogic.skinning.Skinning.StarterKitGuid(Int32 template) +203
       umbraco.cms.presentation.settings.editTemplate.OnInit(EventArgs e) +1831
       System.Web.UI.Control.InitRecursive(Control namingContainer) +133
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1970
    


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

    Has anyone else come accross this issue? and know how to fix it?

    Thanks

    John

  • JohnC 37 posts 61 karma points
    Jun 15, 2012 @ 13:02
    JohnC
    0

    The issue with this was related to the project being in source safe and not having write access to the installedpackages.config and createdpackages.config

     

Please Sign in or register to post replies

Write your reply to:

Draft