Copied to clipboard

Flag this post as spam?

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


  • Kurniawan Kurniawan 202 posts 225 karma points
    Aug 25, 2010 @ 05:00
    Kurniawan Kurniawan
    0

    Create Package Error

    Hi All,

    I still unable to create a package in umbraco V 4.5

    After click, Create Package, and fill the name... I get this yellow screen error.

    Any Idea ?

     

    Thanks

    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.Throw(Exception e) +76
    System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res) +61
    System.Xml.XmlTextReaderImpl.ParseDocumentContent() +3979720
    System.Xml.XmlTextReaderImpl.Read() +151
    System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) +112
    System.Xml.XmlDocument.Load(XmlReader reader) +108
    System.Xml.XmlDocument.Load(String filename) +87
    umbraco.cms.businesslogic.packager.data.Reload(String dataSource) +431
    umbraco.cms.businesslogic.packager.data.GetFromId(Int32 Id, String dataSource, Boolean reload) +67
    umbraco.cms.businesslogic.packager.data.Package(Int32 id, String datasource) +45
    umbraco.cms.businesslogic.packager.CreatedPackage.GetById(Int32 id) +103
    umbraco.presentation.developer.packages._Default.Page_Load(Object sender, EventArgs e) +321
    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.Web.UI.Control.OnLoad(EventArgs e) +99
    umbraco.BasePages.BasePage.OnLoad(EventArgs e) +49
    System.Web.UI.Control.LoadRecursive() +50
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

     

  • Ted Jardine 98 posts 120 karma points
    Aug 25, 2010 @ 22:29
    Ted Jardine
    0

    Have you tried generating a package with nothing in it and still encounter the same error?

  • Evan Jardine 108 posts 168 karma points
    Aug 26, 2010 @ 00:28
    Evan Jardine
    4

    I had this problem a while ago, check your /App_Data/packages/created/createdPackages.config

    Mine was an empty file so I added the following;

    <?xml version="1.0" encoding="utf-8"?>
    <packages></packages>

    Then I could create packages without getting the above error.

    Cheers

    Evan

  • Kurniawan Kurniawan 202 posts 225 karma points
    Aug 26, 2010 @ 01:24
    Kurniawan Kurniawan
    0

    Cool...

    It works now...

    THanks

  • Andrew Waegel 126 posts 126 karma points
    Sep 23, 2010 @ 19:23
    Andrew Waegel
    0

    That fix works for me too - my error was not a YSOD but a message in the main window reading "An error occurred while processing your request.".

  • Albert 27 posts 49 karma points
    Aug 13, 2012 @ 17:35
    Albert
    0

    Thanks, it works now

Please Sign in or register to post replies

Write your reply to:

Draft