Creating/Installing a package which puts a file in the root directory of the website.
Hi folks,
I have recently being building a number of packages to deploy our website (layer upon layer) and wanted to include a new file in the root directory of the website (a favicon.ico file actually).
The package gets created fine, but it WILL NOT install. The package installation fails.
Is this a known issue?
I am using 4.0.3 on a asp.net 3.5 installation
My solution is to tell the person installing that they need to add the FAVICON file manually themselves. Not ideal...
Creating/Installing a package which puts a file in the root directory of the website.
Hi folks,
I have recently being building a number of packages to deploy our website (layer upon layer) and wanted to include a new file in the root directory of the website (a favicon.ico file actually).
The package gets created fine, but it WILL NOT install. The package installation fails.
Is this a known issue?
I am using 4.0.3 on a asp.net 3.5 installation
My solution is to tell the person installing that they need to add the FAVICON file manually themselves. Not ideal...
Thanks,
Cameron
Installing on a Windows Server 2003 running iis6
Do you want to provide the reason it fails? Does the UI give you an error message? Have you checked the umbracoLog table?
A permission problem is the most likely reason for it to have fail.
Is the error Could not upload file
System.IndexOutOfRangeException: Index was outside the bounds of the array?
I've noticed this recently when attempting unpacking a file to the root folder.
Don't know if it's a known error.
-Chris
I guess I should add the solution I found.
Remove the forward slash on the filepath before clicking 'Add'. The file select folder adds it by default.
So normally /favicon.ico would turn favicon.ico.
-Chris
When I go to install the package it never gets to the "I agree to the license" screen.
It takes a while and just eventually times out.
Nothing gets written to the log.
Chris, I will test your work around.
Chris, I can confirm that your work around does actually do the trick for me too.
Thanks very much.
is working on a reply...