SQL Reporting Services Notes

  • To use a custom assembly in Reporting Services, add the DLL to the following locations:
    • C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies
    • C:\Program Files\Microsoft SQL Server\80\Tools\Report Designer
    • C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer\bin
      (Actually, this is MSSQL.3 on my local installation, but it may be different for you.)

    A convenient way of doing this is adding the following post-build event command line to your custom assembly project:

    copy "$(TargetPath)" "C:\Program Files\Microsoft SQL Server\80\Tools\Report Designer"
    copy "$(TargetPath)" "C:\Program Files\Microsoft SQL Server\MSSQL.3\Reporting Services\ReportServer\bin"
    copy "$(TargetPath)" "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies"

    Of course, if you're currently previewing a report using said assembly in Visual Studio, the last copy command will fail.

Post a Comment

To post a comment to this page, login below:

Email:
Password:

If you don't have an account, register here.