This is a migrated thread and some comments may be shown as answers.

Set Trust= Full in Web.Config

0 Answers 11 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Kishan
Top achievements
Rank 1
Kishan asked on 07 Apr 2015, 11:01 AM

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=2.0.0.0,  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

 

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Kishan
Top achievements
Rank 1
Share this question
or