- Check the project task’s ID against the webpart ID.
 - Verify that you have proper permissions to delete the project task.
 - Ensure that any dependencies associated with the task have been removed prior to deleting.
 - Be sure to save the changes after deleting the task.
 
