Because many web hosts do not grant Full Trust permission to their clients, XtraReports allows you to create reports that can be viewed and will work at the Medium Trust permission level. This document describes the requirements and restrictions for deploying an ASP.NET application with XtraReports on a web host requiring the Medium Trust permission level.
To deploy your web application under the Medium Trust permission level, first review the restrictions already introduced in .NET framework. To learn about them, refer to the How To: Use Medium Trust in ASP.NET 2.0 and "ASP.NET Trust Levels and Policy Files" documents in MSDN.
In addition, note that the following XtraReports features require the Full Trust permission level.
The following controls cannot be rendered as a metafile.
These actions require compiling a C# or Visual Basic code at runtime, which is not allowed under the Medium Trust permission level.
Export to PDF:
The export engine detects whether or not it is allowed to embed PDF fonts.
Under Medium Trust, the PDF export engine cannot use unmanaged code to obtain information required for embedding PDF fonts.
For this reason, only non-embedded fonts are supported for this permission level and the export engine can only use a subset of 256 characters from Adobe Glyph List.
In most cases, the reporting engine is able to automatically detect that it is running under the Medium Trust permission level by examining the SecurityPermission flags. In this case, all necessary adjustments are made internally and you don't need to perform any additional customization (e.g., to support PDF export).
When the reporting engine fails to correctly recognize the actual permission level, you may need to explicitly switch the application's permission level to Medium Trust or set the AzureCompatibility.Enable property to true. To learn more, see the PDF Export section of the Microsoft Azure Reporting topic.
We are constantly working on solving different Medium Trust restrictions, and we'll probably reduce this list in future XtraReports versions.