SCCM 2012 R2 RBA – SrsResources is Not Declared: Missing DLL

An error occurred during the local report processing.
The definition of the report ‘/PC Warranty Information’ is invalid.
The Value expression for the report parameter ‘UserTokenSIDs’ contains an error: [BC30451] Name ‘SrsResources’ is not declared.

When you previewed a report in SQL Server Business Intelligence Development Studio (BIDS) after following the instructions on how to preview Role-Based Administration (RBA) reports for CM12 R2 SSRS did you receive an error similar to the one above?

The error message means that the DLL wasn’t referenced in the report and thankfully there is a simple solution to this problem. In a nutshell there are two steps:

  • Make sure that you copy the SrsResources.dll to the PrivateAssemblies directory.
  • Make sure that you add the DLL into the Assembly name section within the References tab for the report.

SrsResources is not declared - Missing DLL

Now you should be able to preview your report in BIDS.

email

Written by , Posted .
  • Stephen Leuthold

    If you want to preview a report using SQL Server Data Tools copy the srsresources.DLL to c:windowsassemblies