001540: Enable archiving is not supported for a dataset in a feature dataset. The feature dataset containing the dataset must be enabled for archiving.

Description

You are attempting to enable archiving on a dataset within a feature dataset.

Solution

To enable archiving on data that resides in a feature dataset you must enable at the feature dataset level. Enabling archiving on specific data inside a feature dataset is not supported.