While we create sub domains it may fail with the following error:
WebServerManager::addVhost() failed: websrvmng failed: Unknown error 0xC00CE560 (COM Error C00CE560) at configHosting(domain.tld)
This error is due to broken file with domain security settings .security.
To solve this we have to
- Rename the .security file to .security.bak which is present at "%plesk_vhosts%\domain.tld\httpdocs"
- Reconfigure domain using below command:
"%plesk_bin%\websrvmng.exe" --reconfigure-vhost --vhost-name=domain.tld
That's all the issue is fixed.!!