Copied to clipboard

Flag this post as spam?

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


  • Damon 4 posts 23 karma points
    Feb 05, 2014 @ 20:10
    Damon
    0

    CMS broken, please help

    Using 4.8.1. While writing a simple text change to a content page on my site, my connection timed out. Upon reloading the CMS and the website, an error occurred: Access to the path 'App_Data\umbraco.config' is denied.

    I renamed umbraco.config, hoping to generate a new one. This got the website working, but my interface in the CMS is broken, so I can't save anything to generate a new config file. I tried using an older umbcro.config file for the site that I had backed up, but this resulted in the same thing: the website works, but my CMS is fragged.

    Can someone please suggest how I might repair to get my options in the CMS to reappear? Thanks!

    Here is what I am seeing now in the CMS:

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Feb 05, 2014 @ 20:26
    Hendy Racher
    0

    Hi Damon,

    Can you get the umbraco.config file to generate by right clicking Content ?

    What happens if you right click Home and do a full (slow) publish ?

     

     

  • Damon 4 posts 23 karma points
    Feb 05, 2014 @ 20:49
    Damon
    0

    Thanks for the reply. I tried a full publish and after a long wait where the publish screen went blank, it kicked me out of the CMS login and reported the same error as before: Access to the path 'C:\inetpub\siteroot\App_Data\umbraco.config' is denied.

    This caused the website to break as before. I checked on the server and the umbraco.config file was unchanged (same timestamp and size as before). Renaming the umbraco.config file - basically running the site without one - removes the access error and allows the website to load, but the problem in the CMS remains. I am wondering if something in the database got written improperly or partially when the original time out occurred. Below is the stack trace from error and a screen of what happened after the full publish. Any additional ideas or help is greatly appreciated.

     

    [UnauthorizedAccessException: Access to the path 'C:\inetpub\siteroot\App_Data\umbraco.config' is denied.]
       System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +9726526
       System.IO.File.Delete(String path) +9549344
       umbraco.content.DeleteXmlCache() +196
       umbraco.content.PersistXmlToFile(XmlDocument xmlDoc) +951
       umbraco.content.PersistXmlToFile() +36
       umbraco.presentation.requestModule.context_PostRequestHandlerExecute(Object sender, EventArgs e) +94
       System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +148
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75

     

     

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Feb 05, 2014 @ 21:07
    Hendy Racher
    0

    Hi, I don't know what sort of access you have to the server, but check the file system permissions ?

  • Damon 4 posts 23 karma points
    Feb 05, 2014 @ 21:23
    Damon
    0

    That was it. I should have checked that sooner. From development to production, the App Pool name was changed.. bone-headed.

    Thanks very much for your help. 

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies