Description
The Target Layer value is not valid for the specified Search Type value. For example, if the Input Table is a utility network, and the Search Type is a UN Association, the target layer must be part of the utility network. The target layer will also be invalid for relationship classes that are not associated with the Input Table, or if a table has no spatial column.
Solution
Specify a different Target Layer that is associated with the Search Type.