Description
The Target Layer value is not valid for the specified Search Type value. For example, if the Input Table value is a utility network, and the Search Type is a Utility Network 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 value or if a table has no spatial column.
Solution
Specify a different Target Layer value, one that is associated with the Search Type value.