The resource you attempted to remove is not an enterprise resource in the active project. It belongs to one or more of the ...

The resource you attempted to remove is not an enterprise resource in the active project. It belongs to one or more of the other enterprise projects you currently have open. Therefore, to remove the resource, switch to a project that is using the resource and then try again.