00065: Layer has a definition expression

Your layer has a definition query and you are publishing to either a spatial data server (SDS), or to hosted services with feature access enabled. SDS and hosted feature services do not support layers using definition expressions.

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

Learn more about authoring feature services for a spatial data server (SDS)

5/23/2013