The below Error was thrown while activating the feature in SharePoint Sandboxed solution in Sharepoint-2013.
unhandled exception was thrown by the sandboxed code wrapper’s execute method in the partial trust domain
From ULS log:
Microsoft.SharePoint.UserCode.SPUserCodeSolutionProxiedException: That assembly does not allow partially trusted callers. Server stack trace: at ******.ListDefinition.Features.******.SiteColumn_Feature.******EventReceiver.FeatureActivated(SPFeatureReceiverProperties properties) at Microsoft.SharePoint.UserCode.SPUserCodeFeatureCallOutWrapper.ExecuteInternal(Object userCodeObject, SPUserCodeRemoteExecutionContext context) at Microsoft.SharePoint.UserCode.SPUserCodeRemoteExecutionWrapper.Execute(SPUserCodeExecutionContext executionContext)
Please suggest the steps to fix this issue.