More than 7,000 applicants have been told they cannot run, including dozens of current members of parliament.