(2)No suit shall be brought in any court to recover any sum of money collected under the authority of this Act or to recover damages on account of any assessment or collection of money, made under the said authority if the provisions of this Act have in subsistence and effect been complied with.