Set Trust= Full in Web.Config

1 posts, 0 answers
  1. Kishan
    Kishan avatar
    4 posts
    Member since:
    Mar 2015

    Posted 07 Apr 2015 Link to this post

    Hii Telerik Team,

                    Below is the general question for you.

                    Is it trustworthy to set trust level is full in web.config ?

                   <trust level="Full" />

                  because normally we set trust level is medium. If I set trust level =medium then Export to PDF not working in telerik:RadGrid and give me below Error.

                  Request for the permission of type 'System.Security.Permissions.FileIOPermission and smtp sending mail using port number 587 & 25 not                         working  give me below the Error.

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

                  Can you give me the better solution for both and what trust level we set in web.config?

     Thanks In Advance

    Kishan Prajapati


Back to Top