Copied to clipboard

Flag this post as spam?

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


  • Ben McKean 255 posts 499 karma points
    Oct 25, 2016 @ 08:31
    Ben McKean
    0

    Upgrade 7.5.3 - The process cannot access the file '\App_Data\umbraco.config' because it is being used by another process

    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.DeleteXmlFile()
       at umbraco.content.LoadXmlFromFile()
       at umbraco.content.LoadXmlLocked(SafeXmlReaderWriter safeXml, Boolean& registerXmlChange)
       at umbraco.content..ctor()
       at umbraco.content.<.cctor>b__a()
       at System.Lazy`1.CreateValue()
       at System.Lazy`1.LazyInitValue()
       at System.Lazy`1.get_Value()
       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.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    
  • Tim Geyssens 6419 posts 15041 karma points MVP 2x c-trib
    Oct 25, 2016 @ 09:03
    Tim Geyssens
    0

    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

  • Ben McKean 255 posts 499 karma points
    Oct 25, 2016 @ 09:08
    Ben McKean
    0

    Hi Tim,

    I'm constantly restarting it. If I do this it works and is fine....then after a period goes down again

    Thanks

    Ben

  • Tim Geyssens 6419 posts 15041 karma points MVP 2x c-trib
    Oct 25, 2016 @ 09:11
    Tim Geyssens
    0

    Does it go down after a specific backoffice action? Any pattern you can see going on?

  • Ben McKean 255 posts 499 karma points
    Oct 25, 2016 @ 09:12
    Ben McKean
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft