RML Utilities: ReportViewer Bug Affects SQL Server Management Studio and Reporter Utility

Summary

An index out of bounds error can occur while rendering a report in Local Report Viewer Mode with more than one dataset.

Outer Exception: Object reference not set to an instance of an object, an error occurred during rendering of the report.
Inner Exception: System.IndexOutOfRangeException: Index was outside the bounds of the array.

image

This is thread safety issue and occurs more frequently on a multi-CPU computer but can happen on a single CPU computer as well.

Workaround

The issue is time sensitive you can attempt to open (render) the report again and it often resolves the issue.

Additional References

Reporting Services, Render, Report Viewer Control, Data Set
SQL Server 2005 CU Bug #  50003629

Bob Dorr
SQL Server Principal Escalation Engineer