Copied to clipboard

Flag this post as spam?

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


  • shriganesh 4 posts 25 karma points
    Nov 12, 2010 @ 14:47
    shriganesh
    0

    Unable to create an Umbraco Package!

    I use Umbraco 4.5.2 for Dot Net 3.5. The problem is whenever I try to create a package of the site, I am just able to give the name of the package. But when I press next, BOOM, I get the following error:


    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() +3979352
    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

     

    IE also shows an error:

    Message: Can't execute code from a freed script.

     

     

    Please help....

  • shriganesh 4 posts 25 karma points
    Nov 18, 2010 @ 05:52
    shriganesh
    1

    Well I have found the solution myself... Thanks...

    Just add the following to: App_Data\packages\created\createdPackages.config

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

  • tentonipete 78 posts 223 karma points
    Dec 31, 2010 @ 11:41
    tentonipete
    0

    just had exactly the same problem and this fix worked for me too. i would high 5 but i'm not allowed :(

    thanks!

Please Sign in or register to post replies

Write your reply to:

Draft