Seaquel
SQL Server error code

SQL Server error 1788

SQL Server raises error 1788 at severity 16, which marks a problem with the query or data that you can correct.

Cascading foreign key '%.*ls' cannot be created where the referencing column '%.*ls.%.*ls' is an identity column.
Msg1788
Severity16
Group1000–1999

Source: Database Engine events and errors