Unable to flush scripts

Error code -10020
Error constant ERROR_FLUSH_SCRIPTS
 Probable cause