Installation of the POA package ASP .NET 2.0 fails with the error message 'access is denied' like in the example below:
`Installation of PEM package ASP.NET2 2.0.50727.8 (id=9218) to host <host name> (id=<host id>) was failed. Reason: ExSystem: ERRCODE 0 ERRCODE_MINOR 0 exec (cmd.exe /C cacls.exe "%WINDIR%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files" /E /D IIS_WPG) failed with code: (5) "Access is denied.`
The error appears just after removing the old package when installing the new package.
Previous package installation set 'Deny' permission for the local 'IIS_WPG' group which 'pem_admin' user belongs to for the folder mentioned in the error mesage. Removing of the package does not clear this permission. As the result, the second time installation of the package cannot get access to the folder.
Remove the 'Deny' permission from the '%WINDIR%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files' folder for the local IIS_WPG group and try install the package one more time.
In case if target operating system is 64-bit path will be the following:
'%WINDIR%\Microsoft.NET\Framework64\v2.0.50727\Temporary ASP.NET Files'