Spire.Barcode is a professional barcode library specially designed for .NET developers (C#, VB.NET, ASP.NET, .NET Core) and Java developers (J2SE and J2EE) to generate, read and scan 1D & 2D barcodes.
Tue Jan 28, 2014 10:53 pm
I am needing to use Spire.BarCode project on a server and I'm having security issues. I have the following error:
System.Security.SecurityException: That assembly does not allow partially trusted callers.
Thanks for you inquiry. If you use the dll files of Spire.BarCode under NET4.0 folder, you could not use [assembly: AllowPartiallyTrustedCallers()] in your AssemblyInfo.cs, you need to use [assembly: SecurityRules(SecurityRuleSet.Level1)]. This issue will be fixed in the next version
Regards,
Harry Technical Support / Developer, e-iceblue Support Team
I used [assembly: SecurityRules (SecurityRuleSet.Level1)], but still the same error. When will be released the new version? I am in dire need. Why not provide the source code? This error is very easy to be solved.