I am try to add VB code dll In SSRS Report but this dll depend on another dll.

Hi,

I am try to add VB code dll In SSRS Report but this dll depend on another dll .It show error message  like..

an error occurred during local report processing.
Failed to load expression host assembly.
Details: Attempt by security transparent method 'ReeportExprHostImpl+CustomCodeProxy..ctor
(Microsoft.ReportingServices.RdlExpressions.ExpressionHostOjectModel.IReportObjectModelProxyForCustomCode)'
to access security Critical method
'SSRSPermissionVBNET.ProjectList..ctor()' failed.Assembly 'expression_host_ce1fcecee8cf40d19cead1fc4094edeb, Version=12.2.21...60, 
Culture=netural,
PublicKeyToken=null' is partially trusted, which causes the CLR to make it entirely security transparent regardless of any transparency 
annotations in the assembly ifseif.IN Order to access security critical code,this assembly must be fully trusted.

Please  facilitate.

June 21st, 2015 12:21pm

Hi Nitesh,

According to your description, when adding a VB code dll to the report, you get an error, right?

Based on the error message, your custom code has security transparent method to access a security critical method.. If Reporting Services wants to allow this operation, the assembly must be fully trusted. Please refer to link below to grant permission to assembly:
How to grant permissions to a custom assembly that is referenced in a report in Reporting Services

Regards,
Shrek Li

Free Windows Admin Tool Kit Click here and download it now
June 24th, 2015 1:11am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics