Queries in the ArcGIS REST Services Directory fail with the error "Failed to Execute Query." This occurs when the query is based on the object ID of the feature class joined to a standalone table, and the table is not registered with the geodatabase.