Issue
When you try to delete a WordPress site using Control Suite on a Plesk 12 server you get the following error:
System.Exception: Unable to delete database wpdemo Error: Cannot delete database which is in use by a site application
at SystemControl.API.Management.Domains.Wipe(String DomainName, CleanDomainParameters Parameters)
at SystemControl.WebApps.Common.Commands.Delete_App.<Execute>d__0.MoveNext()
at SystemControl.ObjectTree.TaskManager.<>c__DisplayClassa`2.<AddTask>b__9()
at SystemControl.ObjectTree.Task.DoWork()
Cause
The Parallels WordPress Toolkit was used to install or migrate the WordPress site.
Solution
- Log into Plesk as admin.
- In the left navigation window click Subscriptions.
- Select the subscription.
- Click on the Websites & Domains tab.
- Click WordPress.
- Select the site you want to remove.
- Click Remove and confirm removal.
Article ID: 2108, Created: January 22, 2015 at 12:33 PM, Modified: January 22, 2015 at 12:33 PM