I want to write a function in the Report Designer (Report Services; VS 2008) and need for this a reference of the System.Drawing dll. But if run the Report in the RTC I get the error message that the Codemodule System.Drawing assembly ist not full trusted. Normally if I start a report in a .Net Application I need the following code in the LoadPage Event:
Me.ReportViewer1.LocalReport.AddTrustedCodeModuleInCurrentAppDomain("System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=bla bla bla")
How can I add a trusted Code Module in NAV 2009. It's possible?
Regard
Dominik
0
Comments
There's a Report Property in classic EnableExternalAssemblies you have to switch to Yes.
For an example / full walkthrough: http://smallsquareservices.com/2011/10/ ... fferences/
CEO, Spare Brained Ideas, Göteborg, Sweden
New (April 2021) Getting Started with Microsoft Dynamics 365 Business Central Book Available: "Your First 20 Hours with Business Central"