Windows 2008 server R2 x64, Plesk 9.x, SQL Server 2008 and R2, Framework 2.xx
When you try to access ASP.NET Application the system shows you an error.
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
- Click START
- Click ACCESSORIES
- Right-click COMMAND PROMPT, then click RUN AS ADMINISTRATOR
- Enter this command: cacls C:\Windows\assembly\GAC_MSIL /E /R psacln /T /C (a list of process will display)
- Then enter this command: cacls C:\Windows\assembly\GAC_MSIL /E /R psaadm /T /C (a list of process will display)
- Type Exit and hit enter to close the command prompt.
Restart the Server.