000139: Feature classes or tables that are related can only be in the same database.

Description

The Origin Table and Destination Table parameters must use feature classes or tables that are located in the same database.

Solution

To create the relationship class, first move or copy the datasets to ensure that they both exist in the same database.