001146: There must be a selection set or query for this operation to run.

Description

There is currently no selection or query within the Remove Rasters From Mosaic Dataset tool. In order for the tool to run, specify a selection set.

Solution

Use the Selection tool to make a selection for the mosaic layer, or create an SQL Definition. If you wish to delete all the rasters from the mosaic dataset, then use an SQL expression such as "OBJECTID>=0".