Export (0) Print
Expand All

Add an Assembly Reference to a Report (SSRS)

Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).

When you embed custom code that contains references to Microsoft .NET Framework classes that are not in Math or Convert, you must provide an assembly reference to the report so that the report processor can resolve the names. For more information, see Add Code to a Report (SSRS).

To add an assembly reference to a report

  1. In Design view, right-click the design surface outside the border of the report and click Report Properties.

  2. Click References.

  3. In Add or remove assemblies, click Add and then click the ellipsis button to browse to the assembly.

  4. 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 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 Custom Code and Assembly References in Expressions in Report Designer (SSRS).

  5. Click OK.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft