This is quite a serious problem that anyone could face using Plesk 8.2 for Windows. If you are trying to delete a domain name and getting any of these two errors given below, the solution given will definitely help you.
1. Error: Unable to remove domains: Problems occured while removing domains: Table::select() failed: no such row in the table
2. Error: Unable to remove domains: Problems occured while removing domains: Unable to remove hosting: Unable to delete virtual host: websrvmng failed: Unexpected error
Solution to the above problem:
If you try this it should add the domain back into the table so you can delete it from the panel.
1. Remove the Registry Key
HKEY_LOCAL_MACHINE -> SOFTWARE -> PLESK -> PSA Config -> Config ->SitesCache
(To access HKEY_LOCAL_MACHINE or to Edit the Registry Go to Start >Run > type "regedit" > hit Enter )
2. Then remove the domain from command line.
cd %plesk_bin%
websrvmng.exe --remove-vhost --vhost-name=Domainname
3. Then install the domain through the command line:
websrvmng.exe --install-vhost --vhost-name=Domainname
4. Then go to the Plesk Control Panel and delete the domain.
It is still in the list, but it will actually delete this time.