Syntax error near '%1' -- The materialized view cannot be changed to immediate because its definition contains an illegal construct: '%2'

Error constant SQLE_UPDATABLE_MATVIEW_SYNTAX_ERROR
ODBC 2 state 42000
ODBC 3 state ERROR
Parameter 1 Location of the feature used that is not permitted.
Parameter 2 The feature used that is not permitted.
Severity 15
SQLCODE -1032
SQLSTATE 42WB4
Sybase error code 13480
 Probable cause