10007: Label class value has an SQL query that uses unqualified field names for fields that exist in more than one table

Your layer has a label class with an SQL query that uses unqualified field names for fields that exist in more than one table. Ambiguous field names in more than one table of a join will give unknown results when used for draw and query operations.

Solution

Check the drawing performance for your layer or basemap layer in ArcMap. If you are publishing, check the drawing performance for your service in the Preview window.

Learn more about working with basemap layers or previewing your service

More information

You can append the table name to the field name to provide a qualified name for the field you want to use.

Specify field names as TableName.FieldName.

This naming convention helps prevent duplicate field names when the target dataset and a join table have common field names.

12/18/2014