Options

not trusted assembly in Reports

BeagleBeagle Member Posts: 8
edited 2011-10-05 in NAV Three Tier
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

Comments

Sign In or Register to comment.