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've recently upgrading one of our client's sites to v7.5.3 from 7.3.5.
Ever since doing this we've been getting the following error on the live site. We starting the site seems to fix the error but then it reoccurs.
This is a live site hosting on Azure and causing us major issues so nay help much appreciated. Anybody know of any things that we can check that normally cause this?
2016-10-25 06:42:11,640 [P18876/D6/T123] ERROR Umbraco.Core.UmbracoApplicationBase - An unhandled exception occurred
System.IO.IOException: The process cannot access the file 'D:\home\site\wwwroot\App_Data\umbraco.config' because it is being used by another process.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.InternalDelete(String path, Boolean checkHost)
at System.IO.File.Delete(String path)
at umbraco.content.LoadXmlLocked(SafeXmlReaderWriter safeXml, Boolean& registerXmlChange)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.<get_GetXmlDelegate>b__3(UmbracoContext context, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.GetXml(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.XmlPublishedCache.PublishedContentCache.HasContent(UmbracoContext umbracoContext, Boolean preview)
at Umbraco.Web.PublishedCache.ContextualPublishedCache`1.HasContent(Boolean preview)
at Umbraco.Web.UmbracoModule.EnsureHasContent(UmbracoContext context, HttpContextBase httpContext)
at Umbraco.Web.UmbracoModule.EnsureUmbracoRoutablePage(UmbracoContext context, HttpContextBase httpContext)
at Umbraco.Web.UmbracoModule.ProcessRequest(HttpContextBase httpContext)
at Umbraco.Web.UmbracoModule.<Init>b__8(Object sender, EventArgs e)
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Not an azure expert but can't you stop the site like you can stop one in iis (and start it back up-? That might remove the lock
I'm constantly restarting it. If I do this it works and is fine....then after a period goes down again
Does it go down after a specific backoffice action? Any pattern you can see going on?
No, not that I can see. Neither I nor the client is doing anything in the CMS. The site has also gone down in the early hours of the morning.
I appreciate this is a long time ago, but did you ever track down the cause of this issue?
We've got a client with the same issue on an Azure hosted site, v7.5.8. Unfortunately, for the time being at least, an Umbraco upgrade isn't an option. Anything you remember would be helpful.
I'm sorry, I can't recall what fixed it. I think we ended up upgrading the site.
Sorry to not be more help.
No worries, to be honest that was the answer I expected. Thanks for the prompt reply.
If I find a solution, I'll post it here in case anyone else has the same problem in the future.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted