We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Failed to load expression host assembly (SecurityPermission)

Hi Aspose,



We are trying out your Barcode product, because we need barcodes on our reports. But we experiencing some problems with it.



We always use MS Report Builder 3.0 to design the reports. And we use MS Report Viewer in our Windows Forms desktop application to present the reports to frontend users.



We downloaded a trial version of Aspose Barcode, but we are getting error messages.



In design mode (MS Report Builder 3.0) we are getting this error when running the report:

Failed to load expression host assembly. Details: System.Security.Permissions.SecurityPermission



In frontend application mode (Windows Forms) we are getting this error, when loading the report:

bla bla bla…, which is not a trusted assembly.



Hope that you can help us making it work.



Kind regards

Benny Filtenborg

Accuratech

A Little extra information:

Installation of Aspose Barcode could not complete (failed because missing Visual Studio 9 - notice that we do not use Visual Studio to design reports, we use MS Report Builder 3.0).

After failed installation, MS Report Builder 3.0 could not load Aspose Barcode assembly (unknown assembly).

Then we manually copied Aspose assembly files to MS Report Builder folder. Then we were able to use Aspose Barcode in MS Report Builder. But as you see in my first post, we get an error message when running the report.

Hi Benny,


Thank you for contacting support. We’re sorry to share with you that it is not supported. We already have logged a feature request to insert barcode from the Report Builder 3. We also managed to replicate the said issue. We have linked your post against these two issues:

BARCODREP-33166 - Insert barcode from the Report Builder 3
BARCODREP-33176 - Failed to load expression host assembly in Report Builder 3

We’ll keep you informed regarding any available updates in this regard. We’re sorry for the inconvenience caused.