Copied to clipboard

Flag this post as spam?

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


  • Craig Palenshus 39 posts 63 karma points
    Mar 16, 2011 @ 15:55
    Craig Palenshus
    0

    Upload button without file selected throws error

    Umbraco 4.7, asp.net 4.0, IIS7

    When a translator (or anyone for that matter) clicks the upload button without first choosing a file a yellow-screen error is thrown.

     

    Error importing translation file 'D:\dev\etblaw\App_Data\translationFile_df89274b-b196-4986-b837-bee833af8396.xml': System.Xml.XmlException: Root element is missing.

    Stack trace:

    [Exception: Error importing translation file 'D:\dev\etblaw\App_Data\translationFile_df89274b-b196-4986-b837-bee833af8396.xml': System.Xml.XmlException: Root element is missing.
    at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
    at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
    at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
    at System.Xml.XmlDocument.Load(XmlReader reader)
    at System.Xml.XmlDocument.Load(String filename)
    at umbraco.presentation.translation._default.importTranslatationFile(String tempFileName)]
    umbraco.presentation.translation._default.importTranslatationFile(String tempFileName) +1134
    umbraco.presentation.translation._default.uploadFile_Click(Object sender, EventArgs e) +1844
    System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +154
    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3691

     


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

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 16, 2011 @ 19:01
    Jan Skovgaard
    0

    Hi Craig

    I think you should consider creating this bug on codeplex since that's where the core team handles bugs reported.

    If you create this on codeplex I recommend you make a reference to it in here so people coming across this issue can vote it up.

    /Jan

  • Craig Palenshus 39 posts 63 karma points
    Mar 16, 2011 @ 20:04
    Craig Palenshus
    0

    Thanks for the tip, Jan. I've added the bug to CodePlex: http://umbraco.codeplex.com/workitem/30172

    - Craig

Please Sign in or register to post replies

Write your reply to:

Draft