If you became a customer of the Syncfusion� Reporting Platform or the Report Viewer, Report Designer, or Report Writer components before October 2019 and have questions related to those products, you can request support through our forum system. However, please note that this support system is only for existing customers who are still using the Syncfusion� Reporting Platform or its components and not for new customers looking for reporting products from Syncfusion�.

For new customers or those with general reporting questions, we recommend contacting our support team at https://support.boldreports.com/, which is a separate brand created by Syncfusion� for its reporting solutions. Our team will be happy to assist you with any questions you may have.

Thank you for choosing Syncfusion� for your reporting needs.

Problem with partially trusted assembly on reportserver or VS2010 rdl preview (Barcode)

Hello everyone,
I tried to create a barcode report, according to the tutorials on the forum / website in VS2010. In one of the guides I found a ready .rdl file (attached), unfortunately when I try to preview it in VB, or after uploading it to the report server, I get the following message:
 

Failed to load expression host assembly. Details: Attempt by security transparent method 'ReportExprHostImpl+CustomCodeProxy..ctor(Microsoft.ReportingServices.RdlExpressions.ExpressionHostObjectModel.IReportObjectModelProxyForCustomCode)' to access security critical method 'Syncfusion.Pdf.Barcode.PdfCode128ABarcode..ctor()' failed. Assembly 'expression_host_ec0efba9fcb142929eafbe36e418ac7d, Version=12.3.600.90, Culture=neutral, PublicKeyToken=null' is partially trusted, which causes the CLR to make it entirely security transparent regardless of any transparency annotations in the assembly itself. In order to access security critical code, this assembly must be fully trusted. (rsErrorLoadingExprHostAssembly)
 

I uploaded this assembly to the database, using another guide found on this forum (also in the attachment).
Unfortunately, it didn't help

I am using:
Microsoft SQL Server (14.0.2037.2)
ReportServer v14.0.600.490
Microsoft Visual Studio 2010 (I write mainly in VB)

Regards,
Thomas Kawulok



Attachment: Files_bbca5be3.7z

3 Replies

MS Muthuramana Sankaranarayanan Syncfusion Team February 4, 2021 04:11 AM UTC

Hi Tomsaz, 

Sorry for the delay. 

We will check on the issue and provide the details for this on today. 
 
Regards, 
Muthu Ramana S 




TO Tomasz February 4, 2021 09:23 AM UTC

Hi,
I have already found a solution:
For VS - link
For RS - link
Ofcourse, instead of the dll given in examples, i used the syncfusion ones :)

Regards,
Thomas


MS Muthuramana Sankaranarayanan Syncfusion Team February 8, 2021 01:58 AM UTC

Hi Tomasz, 

Thanks for sharing the details. 

We are glad to hear that your reported issue is resolved at your end. 
 
Regards, 
Muthu Ramana S 



Loader.
Up arrow icon