Knowledgebase
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Posted by on 25 August 2012 09:58 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.

(4 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).