Error in "insert webpart"

Aug 31, 2012 at 9:52 AM


when I try to put the webpart in page, I have this error

"Request for the permission of type 'Microsoft.SharePoint.Security.SharePointPermission, Microsoft.SharePoint.Security,...."

Sep 10, 2012 at 9:04 AM

Please ensure that the trust level is set to "Full" in web.config. The alternative way is to have custom policy file to provide full trust or appropriate trust levels depending on your application demands.

Thanks and Regards

Ashok Raja .T

Blog :

Nov 13, 2012 at 11:52 AM


I would like to ask you if there is another way to use your webpart, without setting the trust level to "Full".

Due to our security policy we are not allowed to set the trust level to Full. 

What do you mean by appropriate trust levels? Can we use the medium trust level?

Thanks in advance