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!