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

Description

The Output Relationship Class parameter value can only be created in the same database as the Origin Table and Destination Table parameter values.

Solution

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