Article ID: 5480, created on Jul 18, 2008, last review on Jan 30, 2016

  • Applies to:
  • Operations Automation 5.3

Symptoms

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.`

Cause

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.

Resolution

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'

Search Words

Access is denied

ASP .NET 2.0

Windows Shared hosting

IIS_WPG

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 a8cdca46e4357a6e38fded820770e272 2554725ed606193dd9bbce21365bed4e

Email subscription for changes to this article
Save as PDF