00065: Layer has a definition expression

Your layer has a definition query and you are publishing a service with Feature Access (feature service) enabled.

Solution

More information

When you specify a dataset that you want to draw as a map layer, you often only want to draw some of the features in the dataset. In these situations, you can define a query expression to select a subset of features for the layer display. This is referred to as a definition expression or definition query.

Learn more about displaying a subset of features in a layer

9/1/2015