ExportPDF - Security Permission

2 posts, 0 answers
  1. Manoj
    Manoj avatar
    4 posts
    Member since:
    Dec 2007

    Posted 01 Oct 2014 Link to this post


    i am using Telerik 2014 version , facing problem in exporting to PDF from the Radgrid.
    My Applicaion should works trust Level in "Medium".  When i am generating excel and doc, it works fine for me. But generating PDF only am facing following issue


    Server Error in '/Adrenalin' Application.Security ExceptionDescription: The application attempted to perform an operation not allowed by the security policy.  To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. 

    Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

    My Code in C#:

    Please help me out to sort out the issue

  2. Kostadin
    Kostadin avatar
    1733 posts

    Posted 06 Oct 2014 Link to this post

    Hello Manoj,

    I am afraid that exporting RadGrid in Medium trust is not supported. A full list of  PDF export limitations could be found at the following help article. Please excuse us for any inconvenience this might have caused you.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top