**Late breaking news:
Set the ‘Everyone’ group with ‘Read’ permissions to the below folder:
Problem history as follows:
Intermittently certain ascx files used by Sharepoint need to be recreated in Temporary ASP.NET folders.
But the creation of these files by the worker process account fails with Access Denied.
and associated to these errors is the failure to load featureactivator.ascx and featuredependees.ascx.
After much investigation it appears as if the issue revolves around file level permissions within the web application folder in Temporary ASP.NET as all the folder level permissions for the worker process account are correct.
And the fix to date is to Replace all existing inheritable permissions on all descendants with inheritable permissions from this object. Where this object is the worker process account at the Temporary ASP.NET folder.
This can be achieved by a Powershell script as follows.
$StartingDir=”C:\Windows\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files\root\b519bb46″
foreach($principal in $principals)
foreach ($file in $(Get-ChildItem $StartingDir -recurse))
set-acl $File.Fullname $acl
Write-Host “Set $Right on $File”
Though the cause remains unknown. Group policy was a candidate cause but gpupdate /force does not cause the problem.