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.
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.
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.
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.
Thanks for the follow up! It's always refreshing when a community member posts their solution to an issue.
is working on a reply...