I am unable to install most of the starter kits or packages available for Umbraco. It does not matter if I am trying to install an package from a local source or from the backend package repository. I am always running into an missing file exception. For example I have tried to install uComponents or Koiak Standard Site (http://our.umbraco.org/projects/starter-kits/standard-website), but the exception also appears for many other packages.
Basicly I think it always appears for .ascx files. The setup is appears to be unable to create or extract them. Unfortunately I am new to Umbraco, so I do not know how to install the rest of the package manually (since document types, contents and templates are apparently installed correctly).
I am running on Windows Server 2008 (Service Pack 2, IIS 7), .NET version is 4.0.30319 and ASP.NET version is 4.0.30319.233.
Here is an exception dump:
Server Error in '/Test' Application.
The file '/Test/usercontrols/BasicSiteInstall.ascx' does not exist.
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.Web.HttpException: The file '/Test/usercontrols/BasicSiteInstall.ascx' does not exist.
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.
I have found a solution for this problem on my own now. After reinstalling Umbraco manually I noticed that you have to set up permissions as described in here: http://our.umbraco.org/wiki/install-and-setup/set-umbraco-folder-permissions-from-command-line. However the given command line script is incorrect if you want to install packages that are trying to write into the directories "usercontrols" or "bin". I rewrote the script to give NETWORK SERVICE or IIS APPPOOL\... users medium trust permissions for those directories. Anyway you should use the old script if you are uploading your website to the www!
Here is a fixed version of the script:
REM Following line in original script incorrectly sets all child folder permissions REM icacls ./grant "NETWORK SERVICE":(OI)(CI)M icacls app_code /grant "NETWORK SERVICE":(OI)(CI)RX icacls app_browsers /grant "NETWORK SERVICE":(OI)(CI)RX icacls app_data /grant "NETWORK SERVICE":(OI)(CI)M icacls bin /grant "NETWORK SERVICE":(OI)(CI)M icacls config /grant "NETWORK SERVICE":(OI)(CI)M icacls css /grant "NETWORK SERVICE":(OI)(CI)M icacls data /grant "NETWORK SERVICE":(OI)(CI)M icacls masterpages /grant "NETWORK SERVICE":(OI)(CI)M icacls media /grant "NETWORK SERVICE":(OI)(CI)M icacls python /grant "NETWORK SERVICE":(OI)(CI)M icacls scripts /grant "NETWORK SERVICE":(OI)(CI)M icacls umbraco /grant "NETWORK SERVICE":(OI)(CI)R icacls usercontrols /grant "NETWORK SERVICE":(OI)(CI)M icacls xslt /grant "NETWORK SERVICE":(OI)(CI)M icacls web.config /grant "NETWORK SERVICE":(OI)(CI)M icacls web.config /grant "NETWORK SERVICE":M REM If you have installed the Robots.txt editor package you need the following line too icacls robots.txt /grant "NETWORK SERVICE":M
Unable to install packages
Hey there Umbraco-Community,
I am unable to install most of the starter kits or packages available for Umbraco. It does not matter if I am trying to install an package from a local source or from the backend package repository. I am always running into an missing file exception. For example I have tried to install uComponents or Koiak Standard Site (http://our.umbraco.org/projects/starter-kits/standard-website), but the exception also appears for many other packages.
Basicly I think it always appears for .ascx files. The setup is appears to be unable to create or extract them. Unfortunately I am new to Umbraco, so I do not know how to install the rest of the package manually (since document types, contents and templates are apparently installed correctly).
I am running on Windows Server 2008 (Service Pack 2, IIS 7), .NET version is 4.0.30319 and ASP.NET version is 4.0.30319.233.
Here is an exception dump:
Server Error in '/Test' Application.
The file '/Test/usercontrols/BasicSiteInstall.ascx' does not exist.
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.Web.HttpException: The file '/Test/usercontrols/BasicSiteInstall.ascx' does not exist.
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:
Hello again!
I have found a solution for this problem on my own now. After reinstalling Umbraco manually I noticed that you have to set up permissions as described in here: http://our.umbraco.org/wiki/install-and-setup/set-umbraco-folder-permissions-from-command-line. However the given command line script is incorrect if you want to install packages that are trying to write into the directories "usercontrols" or "bin". I rewrote the script to give NETWORK SERVICE or IIS APPPOOL\... users medium trust permissions for those directories. Anyway you should use the old script if you are uploading your website to the www!
Here is a fixed version of the script:
Carsten,
Thank you for this. Saved me a lot of time !
Steve
is working on a reply...