Symptoms
Assume that you use Microsoft SQL Server Reporting Services to create a report that contains a date type parameter. When you execute the report by using an invalid date parameter, you receive the following error message:
Note
The value provided for the report parameter parameter_name is not valid for its type. (rsReportParameterTypeMismatch)
This is the expected behavior. However occasionally, you may also receive the following error message:
Note
Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500
If you replace the invalid date parameter with the correct date and then execute the report, you still receive the same error message. This issue is not resolved until you refresh the current webpage.
Resolution
The issue was first fixed in the following cumulative updates of SQL Server:
- Cumulative Update 1 for SQL Server 2014 SP2
- Cumulative Update 8 for SQL Server 2014 SP1
- Cumulative Update 1 for SQL Server 2016
- Cumulative Update 4 for SQL Server 2012 Service Pack 3
- Cumulative Update 14 for SQL Server 2014
- Cumulative Update for 12 SQL Server 2012 SP2
Recommendation: Install the latest cumulative update for SQL Server
Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. We recommend that you download and install the latest cumulative updates for SQL Server:
- Latest cumulative update for SQL Server 2016
- Latest cumulative update for SQL Server 2012 SP3
- Latest cumulative update for SQL Server 2014 (SP1/SP2)
- Latest cumulative update for SQL Server 2012 SP2
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
References
Learn about the terminology that Microsoft uses to describe software updates.