Delphi Error – X2141 Bad file format ‘%s’

Delphi Compiler Error

X2141 Bad file format ‘%s’

Reason for the Error & Solution

The compiler state file has become corrupted. It is not possible to reload the previous compiler state.

Delete the corrupt file.