Copied to clipboard

Flag this post as spam?

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


  • Karl Hester 2 posts 22 karma points
    Mar 22, 2012 @ 17:29
    Karl Hester
    0

    Error when application pool recycles for Umbraco 5

    We've developed our new site using Umbraco 5 on a Windows 7, and have deployed it to an internal server running IIS 7.5 on Windows Server 2008 R2.

    Everything initially comes up fine, site works exactly as it did on the designer's machine, and there are no issues accessing any of the functionality. 

    However, once the application pool idles out, or is manually recycled, the following error occurs when the application is first accessed:

    System.ApplicationException: Could not initialise plugin folder ---> System.UnauthorizedAccessException: Access to the path 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\c6a8b697\7ebcca75\Umbraco.Cms.Web.Editors.dll' is denied.

    I have checked and rechecked all the permissions the application pool, and the temporary asp.net files directory framework and confirmed the proper access has been given.  The file from the error is already in the path specified in the error. If the folder is removed from the Temporary ASP.NET Files folder, the application is able to run successfully again. 

    For some reason the application pool when starting wants to overwrite the files in the directory but it cannot.  Any ideas?  Any help is appreciated.  Thanks in advance.

  • Karl Hester 2 posts 22 karma points
    Mar 23, 2012 @ 21:35
    Karl Hester
    0

    The files to be copied to the temp directory were checked into Source Control before being deployed, and as a result were made read only.   Once these files were made not read only they could be overwritten when the pool was recycled or restarted.

  • Ryan Zimmerman 1 post 21 karma points
    May 27, 2012 @ 21:14
    Ryan Zimmerman
    0

    Thanks for the follow up! It's always refreshing when a community member posts their solution to an issue.

Please Sign in or register to post replies

Write your reply to:

Draft