Knowledge Essentials - 3Essentials Hosting

Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) Error with Plesk 9.5

Article ID: 1120

 Back to Search

WIth Server 2008 R2, Plesk 9.5 has a bad habbit of not giving itself permissions to the C:\Windows\Assemblies folder. Due to this, ASP and ASP.NET applications will not function correctly. In order to fix this you must follow the steps below.

  1. With Windows Explorer, browse to C:\Program Files (x86)\Parallels\Plesk\etc\DiskSecurity\DiskSecurity.xml
  2. Right click on DiskSecurity.xml and edit the file with Notepad or another plain text editor.
  3. Insert the following line at the bottom of the file, BEFORE </Entries>:

    <
    Entry AccounType="1" Account="Psacln" Path="C:\Windows\assembly" AceFlags="FilesOnly" AccessMask="Read" EntryFlags="0x0" />

  4. Save and close the file.
  5. Open a CMD Prompt and navigate to C:\Program Files (x86)\Parallels\Plesk\admin\bin
  6. Once you are at the root of the foler type the following command:

    ApplySecurity --apply

  7. Execute the command, open Task Manager, look at the Processes tab, and find ApplySecurity.exe
  8. Wait for the process to terminate, close task manager.
  9. Stop Plesk, Reset IIS, Start Plesk
  10. Verify that ASP is now working correctly by visiting an ASP Page or ASP based application hosted on the server.
 
Downloads Associated With This Article
No downloads are currently associated with this article.