Hi everyone.
I try to execute plug-in in dynamic CRM using Action and for achive to this I using WebResource and SOAP (XMLHttpRequest). But I getting below error
Response Text: <s:Envelope xmlns:s="schemas.xmlsoap.org/.../envelope"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring xml:lang="en-US">Unexpected exception from plug-in (Execute): TransferDatePlugin.DataTransferPlugin: System.Security.SecurityException: That assembly does not allow partially trusted callers.</faultstring><detail><OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance"><ActivityId>60eb1387-7c04-4bc5-9122-808d696e6809</ActivityId><ErrorCode>-2147220956</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"/><Message>Unexpected exception from plug-in (Execute): TransferDatePlugin.DataTransferPlugin: System.Security.SecurityException: That assembly does not allow partially trusted callers.</Message><Timestamp>2018-07-11T11:30:30.49057Z</Timestamp><ExceptionSource>PluginExecution</ExceptionSource><InnerFault i:nil="true"/><OriginalException>System.Security.SecurityException
 at TransferDatePlugin.DataTransferPlugin.Execute(IServiceProvider serviceProvider)
 at Microsoft.Crm.Sandbox.SandboxAppDomainHelper.<>c__DisplayClass5.<Execute>b__0()
 --- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
 at Microsoft.Crm.Sandbox.SandboxAppDomainHelper.Execute(IOrganizationServiceFactory organizationServiceFactory, Dictionary`2 sandboxServices, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, IPluginExecutionContext requestContext)
 at Microsoft.Crm.Sandbox.SandboxAppDomainHelper.Execute(IOrganizationServiceFactory organizationServiceFactory, Dictionary`2 sandboxServices, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, IPluginExecutionContext requestContext)
 at Microsoft.Crm.Sandbox.SandboxWorker.Execute(SandboxCallInfo callInfo, SandboxPluginExecutionContext requestContext, Guid pluginAssemblyId, Int32 sourceHash, String assemblyName, Guid pluginTypeId, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, SandboxRequestCounter& workerCounter, Boolean returnTraceInfo)</OriginalException><TraceText>
 [TransferDatePlugin: TransferDatePlugin.DataTransferPlugin]
 [394e9e20-f984-e811-80e1-000d3aa0b458: TransferDatePlugin.DataTransferPlugin: new_TransferFFData of any Entity]
 
 </TraceText></OrganizationServiceFault></detail></s:Fault></s:Body></s:Envelope>
How can I solve this issue?