There's something wrong with your sql query or crystal report datasource.
First, check the datasource for crystal report. If necessary, re-bind it.
Second, check the sql statement. Change your input parameters to constant values and check out if it it helps. If yes, change constant value one by one. I'd start with
{?tran}
. If crystal report will display data without errors, then change constant value to parameter for
{?dateb}
. If you'll get an error message, then that means that date parameter is passed with wrong format.
See:
SET DATEFORMAT (Transact-SQL) - SQL Server | Microsoft Docs[
^] for further details.