Medium Trust Support for Telerik Reporting

Posted by: the telerik blogs, on 10 Aug 2009 | View original | Bookmarked: 0 time(s)

A lot of people requested this, sowe've put allour efforts into it and even managed to finish it in timefor the Q2 service pack that shipped just this Friday -download it if you haven't yet. Please hold on your dismay - deploying an ASP.NET applicationcontaining Telerik Reportingon a web host that requires Medium Trust permission level is now a reallity.

For those of you, who do not know what that means - you probably do not need it, but if you would like to know, check the following "ASP.NET Trust Levels and Policy Files"and"Use Medium Trust in ASP.NET 2.0" documents in MSDN.

There are some limitations of course, but hey believe us when we say we did a lot to get here. To summarize - Telerik Reporting works in Medium Trustenvironmentwith the followingexceptions:

  • ThePDF andExcel rendering extensions require UnmanagedCode permission to operate at all times.Take that into consideration when deploying your application and if necessarydisable thoseextensions to avoid security exceptions. For more informationrefer toConfiguring Telerik Reportinghelp section.
  • Creating TIFF imageswithCCITT Group 3/Group 4 or RLE compressions, require UnmanagedCode permission.These compressions are used tocreate bi-tonal images for sending through fax, so you would need the latter permission for such scenarios.
  • When Pictureboxitemshows images fromWeb i.e. it's value is an URL - this requires WebPermission. As you know the Pictureboxitem can be bound in various ways (more info in this blog post), so those of you setting its value to an URL, should be aware that this would not work unless the above permission is present.
  • Localization of Telerik Web ReportViewerthrough RESX resource files - requires Full Trust.
  • Internet Explorer 6 only: transparent colors in Shapes and Barcodeswould not be rendered as expected- requiresUnmanagedCode permission.

It's needless to say that wewould beworking on reducing the above list.

As you can see, having WebPermission and UnmanagedCode permission brings youfully functional reporting solution. So be nice to your kind and friendly web host providersif youplan on askingfor those two :)

Enjoy!

Advertisement
Free Agile Project Management Tool from Telerik
TeamPulse Community Edition helps your team effectively capture requirements, manage project plans, assign and track work, and most importantly, be continually connected with each other.
Category: ASP.NET | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 827 | Hits: 4

Similar Posts

  • Connecting to SQL Azure with Telerik OpenAccess more
  • Binding Hierarchical RadGrid for ASP.NET Ajax with Telerik OpenAccess ORM more
  • Telerik Launches RadControls for Silverlight 3 for Line-of-Business Application Development more
  • Reporting Release History : Q2 2009 SP1 (version 3.1.9.807) more
  • Reporting Q2 2009 release more
  • Telerik Introduces Free Web Testing Framework for ASP.NET AJAX and Silverlight more
  • Teleriks Q2 2009 Release Expands All-in-one .NET Offering more
  • Partial Trust and Telerik OpenAccess ORM more
  • Steema teeChart for .NET 2009 released more
  • ORM Release History : Q1 2009 SP1 (version 2009.1.405.1) more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD