Copied to clipboard

Flag this post as spam?

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


  • pnr 131 posts 226 karma points
    Feb 03, 2010 @ 10:51
    pnr
    0

    Problem installing packages with a file placed in root

    I have created a package that include a .aspx fil in the root of the website. When i try to install the package I get the following error:

    Could not upload file
    System.Exception: Error unpacking extension... ---> System.IndexOutOfRangeException: Index was outside the bounds of the array. at umbraco.cms.businesslogic.packager.Installer.getFileName(String path, String fileName) at umbraco.cms.businesslogic.packager.Installer.LoadConfig(String tempDir) at umbraco.cms.businesslogic.packager.Installer.Import(String InputFile) --- End of inner exception stack trace --- at umbraco.cms.businesslogic.packager.Installer.Import(String InputFile) at umbraco.presentation.developer.packages.Installer.uploadFile(Object sender, EventArgs e)

    If i remove the aspx file in the root from my package, then the package is working fine! 

    Is it a bug or is there a solution for that problem?

    Thanks in advance!

     

  • Richard Soeteman 4046 posts 12899 karma points MVP 2x
    Feb 03, 2010 @ 11:01
    Richard Soeteman
    0

    HI,

    I do this all the time, so itr shouldn't be an issue. It seems that the installer can't read the filename. Any special chars in that file?

    Cheers,

    Richard

Please Sign in or register to post replies

Write your reply to:

Draft