The report could not be generated: Input string was not in a correct format.