A layer in your document uses a page definition query. Layers with page definition queries cannot be used in a basemap layer or in a map service.
- You can remove the page definition query from the affected layer.
- Alternatively, if you don't need this layer, you can remove it from the document.
Page definition queries work along with Data Driven Pages to support showing different information on each page of a series.