You can do this by either:
- Making sure that no one is on the database and close all CWS applications and try it again.
- Run the below script on the SQL database after backing up the SQL database and making sure that no one is using it:
The below example is based on CW Framework model, so please use your own relevant model name on the script:
DELETE FROM [dbo].[OBJECT_LOCK]
WHERE MODEL_NAME = 'CWFREX09'
All this script does is to clear the locks on the diagram so you can delete it/edit it from Casewise Suite.