Cannot execute query. Semantic affecting hint '%1!s!' appears in the '%2!s!' clause of object '%3!s!' but not in the corresponding ...

Cannot execute query. Semantic affecting hint '%1!s!' appears in the '%2!s!' clause of object '%3!s!' but not in the corresponding '%4!s!' clause.  Change the OPTION (TABLE HINTS...) clause so the semantic affecting hints match the WITH clause.