There was a problem deleting the specified file from the specified dataset. If the file is being accessed by an ArcMap or ArcCatalog session, it will have a file lock placed on it and thus cannot be deleted. A file lock may also occur if the folder is being accessed by a system file explorer.
- Check that the specified dataset does exist at the location identified.
- Make sure that the dataset is not being accessed by another ArcGIS session or being viewed in a file browser.
- Check that you have the appropriate permissions for the workspace.