- Plesk for Windows
While trying to access the website the following error appears:
CONFIG_TEXT: 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.
Log into Plesk and 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:
- Log in to the server via RDP.
- Delete or rename the file
- Run the following command in Command Prompt:
C:\> "%plesk_cli%\repair.exe" --repair-webspace-security -webspace-name example.com -all-filesystem-objects