A new domain 'example.com' with dedicated IP address was created on Plesk for Windows
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.
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.