Script-only application script was invalid. The application was not loaded. Path: %1 Cause: The format of the script file ...

Script-only application script was invalid.  The application was not loaded.

Path: %1
Cause: The format of the script file was invalid or the script failed to compile.
Resolution:
Examine the event log entries prior to this one to determine why the script file failed to compile.