UPDATE: Version 16.0.1115.96 (May 20, 2024) seems to have fixed the issue.
SSRS UnhandledReportRenderingException
Current environment:
SSRS: 16.0.1115.92
SQL Server instance: Microsoft SQL Server 2019 (RTM-CU26) (KB5035123) - 15.0.4365.2 (X64)
Enterprise Edition (64-bit) on Windows Server 2016 Datacenter 10.0 <X64> (Build 14393: ) (Hypervisor).
When we migrated SSRS from 16.0.1115.61 (2024-01-23) to 16.0.1115.92 (2024-05-01) a subscription started failing with below unhandled exception:
reportrendering!WindowsService_9!2dc0!05/13/2024-10:19:47:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: , Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException: An error occurred during rendering of the report. ---> System.InvalidCastException: Unable to cast object of type 'Microsoft.ReportingServices.ReportIntermediateFormat.RecordField' to type 'Microsoft.ReportingServices.ReportIntermediateFormat.RecordRow'.
and writing out a dump file:
library!WindowsService_9!2dc0!05/13/2024-10:19:47:: e ERROR: Report server dump occured. Exception: Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException: An error occurred during rendering of the report. ---> System.InvalidCastException: Unable to cast object of type 'Microsoft.ReportingServices.ReportIntermediateFormat.RecordField' to type 'Microsoft.ReportingServices.ReportIntermediateFormat.RecordRow'., Message: , Unhandled Exception: False library!WindowsService_9!2dc0!05/13/2024-10:19:47:: e ERROR: Report server unique dump occured. Exception: Microsoft.ReportingServices.ReportProcessing.UnhandledReportRenderingException: An error occurred during rendering of the report. ---> Microsoft.ReportingServices.OnDemandReportRendering.ReportRenderingException: An error occurred during rendering of the report. ---> System.InvalidCastException: Unable to cast object of type 'Microsoft.ReportingServices.ReportIntermediateFormat.RecordField' to type 'Microsoft.ReportingServices.ReportIntermediateFormat.RecordRow'., Message: , Unhandled Exception: False library!WindowsService_9!2dc0!05/13/2024-10:20:30:: i INFO: Dump result: Timeout waiting for external dump process 11952.
Any help will be much appreciated.