Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
We're installing Umbraco on a server, which is turns out we're not allowed write permissions for. I have a solution, but I wonder if someone knows if the following will work.
The hosts have a staging environment, so I was planning on working on that and then asking them to copy up the files and data whenever we make changes. That seems all hunky-dorey, but the data is cached on to disk right?
The latest version (4.5) has the following in the web.config, which sounds promising. If I enable this, will it prevent the need to write to the data folder?
Set this to true to enable storing the xml cache locally to the IIS server even if the app files are stored centrally on a SAN/NAS
Alex Norcliffe 2010 02 for 4.1
<add key="umbracoContentXMLUseLocalTemp" value="false" />
If not, can I stick the /data folder in a virtual directory on another server?
All thoughts very welcome.
BTW: I'd clean up the markup in the post but I'm seeing the following error when I try:
Error parsing XSLT file: \xslt\forum-commentsList.xslt
So does no-one knows what 'umbracoContentXMLUseLocalTemp', does then?
You've probably worked this out by now, but I've just been looking into the same thing, so I thought I'd share what I found.
In umbraco.IO.SystemFiles.cs, the following code references the setting:
public static string ContentCacheXml
return Path.Combine(HttpRuntime.CodegenDir, @"UmbracoData\umbraco.config");
return IOHelper.returnPath("umbracoContentXML", "~/App_Data/umbraco.config");
public static bool ContentCacheXmlIsEphemeral
bool returnValue = false;
string configSetting = ConfigurationManager.AppSettings["umbracoContentXMLUseLocalTemp"];
if(bool.TryParse(configSetting, out returnValue))
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted