Expression on rhs is not a class or a compatible class and hence cannot be assigned to a class handle on lhs

In reply to morslai:

It could be the parameter override values don’t match between LHS and RHS. But without seeing any code and the actual error message, it’s difficult to answer.