Click here to monitor SSC

deploying custom assemblies to reporting services

Last post 03-09-2009, 12:54 PM by bushfoot. 1 replies.
Sort Posts: Previous Next
  •  03-09-2009, 12:40 PM Post number 72393

    deploying custom assemblies to reporting services

    I have a c# assembly that I reference and use in my reports.  I have followed all of the instructions on-line

    1 - copied the file to the reportserver\bin folder of reporting services server

    2 - added a code group to rssrvpolicy.config for the custom assembly to have full trust.

    3 - added to my methods

    SqlClientPermission operm = new SqlClientPermission(PermissionState.Unrestricted);

    operm.Assert();

    Still when I run the report in reporting services I get #Error.  I do not see anything in the ReportingServices\logfiles to tell me why it doesn't work.

    Any ideas? The purpose of the assembly is to pull resources for such things as Column headers, report names, translated report row data.

    On my dev machine, with a BI:Report Server project I can copy my dll to the visual studio folder and when I run the report on the preview tab the column headers are translated.  That is not the case on  my reporting services server.

    Any guidance would be greatly appreciated!

  •  03-09-2009, 12:54 PM Post number 72396 in reply to post number 72393

    Re: deploying custom assemblies to reporting services

    Found a solution... http://www.c-sharpcorner.com/UploadFile/balajiintel/CustomAssemblyinRS06302005081435AM/CustomAssemblyinRS.aspx

    added the lines below to my assembly

    using System.Security;

    [assembly:AllowPartiallyTrustedCallers]

     

     

View as RSS news feed in XML