While trying to access the website the following error appears:
500.19 - Internal Server Error
Config Error Cannot read configuration file due to insufficient permissions
Config File \\?\C:\Inetpub\vhosts\example.com\httpdocs\web.config
Incorrect application pool specified for example.com in IIS. It is assigned to default plesk(default)(4.0) pool in IIS instead of its own example.com(domain)(4.0) pool.
Corrupted permissions for a domain folder.
Re-apply IIS application pool settings for the domain at Home > Domain > example.com > Dedicated IIS Application Pool for Website - click Switch Off, then click Switch On.
If the issue still persists, perform the following to reset security settings for the domain folder:
1. Log in to the server via RDP.
2. Delete or rename the file %plesk_vhosts%example.com\.plesk\.Security
3. Run the following command in Command Prompt:
C:>\"%plesk_cli%repair.exe" --repair-webspace-security -webspace-name example.com