How to: Add an Assembly Reference to a Report (Reporting Services)
When you embed custom code that contains references to Microsoft .NET Framework classes that are not in System.Math or System.Convert, you must provide an assembly reference to the report so that the report processor can resolve the names. For more information, see How to: Add Code to a Report (Reporting Services).
To add an assembly reference to a report
In Design view, right-click the design surface outside the border of the report and click Report Properties.
Click References.
In Add or remove assemblies, click Add and then click the ellipsis button to browse to the assembly.
In Add or remove classes, click Add and then type name of the class and provide an instance name to use within the report.
Note
Specify a class and instance name only for instance-based members. Do not specify static members in the Classes list. For more information, see Using Custom Code References in Expressions (Reporting Services).
Click OK.
See Also