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