000177: Relationship classes can only be created in the same database that contains the feature classes or tables.

Description

The Output Relationship class can only be created in the same database as the Origin Table and Destination Table.

Solution

Modify the location of the relationship class to the same database as the Origin Table and Destination Table parameters.