(2)No suit shall be brought in any Court to recover an 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 :Provided that the provisions of this Act have been substance and effect complied with.