I have SSRS reports in production which were running fine till 11th July. But suddenly in the evening of 11th July (around 5:30 PM IST) , the report were giving the below error.
processing!ReportServer_0-21!1758!07/11/2014-13:57:11:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Cannot read the next data row for the dataset DataExtract_DS. ---> System.Data.SqlClient.SqlException: The conversion of a date data type to a datetime data type resulted in an out-of-range value.
I have two Date\Time report parameters StartDate and EndDate which has default value as =Today() in one of the report and in the another report i have query parameters and used the below statements to assign the values to these query parameters
SET @StartUTCDate = CONVERT(VARCHAR(10), DATEADD(d,-1,GETUTCDATE()), 120)+' 00:00:00.00'
SET @EndUTCDate = CONVERT(VARCHAR(10), DATEADD(d,-1,GETUTCDATE()), 120)+' 23:59:59.00'
From 14th July, without doing any changes to the reports or query, reports started to work as expected.
Can any one please let me know why the reports were not working for only some time and after it is working fine without any modifications.