000051: Cannot alter the spatial reference because the feature dataset is in use by another application/user.

Description

This error can occur when running the Project Define tool and the target dataset is being viewed or edited by another application. Locks are applied to a dataset in these situations so it cannot be corrupted.

Solution

Ensure that no other applications or users are accessing the dataset, and run the Project Define tool again.