Knowledgebase: Server Settings
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Posted by Sean Syed on 18 February 2013 06:59 PM

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.

SOLUTION:

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

(3 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).