FIX: "Index was out of range" error when exporting to PDF in a SQL Server Reporting Services report

Applies to: SQL Server 2014 Service Pack 2SQL Server 2016 Service Pack 1


Assume that you use SQL Server Reporting Services. When you export a report to PDF or do a Print Preview for a report in Visual Studio 2015, you may receive the following error message if a report column expands from one page to next page:

An error occurred during rendering of the report. (rrRenderingError)
An error occurred during rendering of the report.
Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index.


This issue is fixed in the following cumulative updates for SQL Server:

Cumulative Update 7 for SQL Server 2016 RTM

Cumulative Update 6 for SQL Server 2014 SP2

Cumulative Update 13 for SQL Server 2014 SP1

Cumulative Update 9 for SQL Server 2012 Service Pack 3


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


Learn about the terminology that Microsoft uses to describe software updates.