Error Message "Illegal Directive"

Dear all, I have an application which when I open the document, it showed the Error Message “Illegal Directive”. Does anyone know what caused this error to occur?

Subject: Error Message “Illegal Directive”

Most likely it’s a message shown by the form.To find out what’s wrong, get a design synopsis of the form in question, and look for “Illegal Directive”, which probably is somewhere in some formula or script.