Hello,
A number of colleagues are trying to Qualify Leads, but unable to do so. It seems to be giving an Error message (below).
The correct process when Leads are qualfied, they should update into the 'Oppertunity' view, but this has stopped working.
Any assistance would be much appreciated.
Thanks,
Digesh
<s:Envelope xmlns:s="schemas.xmlsoap.org/.../envelope"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring xml:lang="en-US">Error in 'CoreMotives.Crm.Plugins6.TrackTriggeredEvent' v1.0.16.0:
Message: That assembly does not allow partially trusted callers.
Stack: at CoreMotives.Crm6.Plugins.Utility.GetExceptionMessage(Exception exception)
at CoreMotives.Crm6.Plugins.Utility.LogHttpPostException(Exception e, PluginSettings settings, ITracingService tracingService)
at CoreMotives.Crm6.Plugins.Utility.SendHttpPostRequest(String uri, String parameters, String userAgent, WebProxy proxy, PluginSettings settings, ITracingService tracingService)
at CoreMotives.Crm6.Plugins.Utility.PostEventData(PluginSettings settings, Guid recordId, String recordType, String eventName, Guid crmUserId, IEnumerable`1 additionalParameters, String userAgent, WebProxy proxy, ITracingService tracingService)
at CoreMotives.Crm6.Plugins.TrackTriggeredEvent.Execute(IServiceProvider serviceProvider)
PLUGIN SETTINGS:
CustomerId: 9150c0ed-4cf1-46ea-ba22-eba9e1718749
InstanceId: 507
ServerUrl: databroker.coremotives.com/.../TrackEvent.aspx
SecurityToken: 9Eb8L1RcF9aoxFYpmxWdQsE2rAeg06BJ77vnlXYOEJ4=
CONTEXT INFORMATION:
UserId: 8d73307b-4bdb-e311-b655-d89d67633e10
OrganizationId: 7ab9bd36-3007-4ef6-abd8-7d00656715a0
OrganizationName: crm4org7ab9b
MessageName: QualifyLead
Stage: 40
Mode: 0
PrimaryEntityName: lead
SecondaryEntityName: none
BusinessUnitId: 8e724c00-bf39-e011-8da3-1cc1de72e35e
CorrelationId: 42e4f414-cb06-434a-bd6c-2058d42f4a3b
Depth: 1
InitiatingUserId: dbb9e19c-57bf-e511-810d-3863bb34c940
IsExecutingOffline: False
IsInTransaction: True
IsolationMode: 2
Mode: 0
OperationCreatedOn: 3/9/2017 9:40:34 AM
OperationId: 0e6387c4-49ac-4b2e-93e9-0146d5b9a7ad
PrimaryEntityId: 00000000-0000-0000-0000-000000000000
OwningExtension LogicalName: sdkmessageprocessingstep
OwningExtension Name: Qualify Lead
OwningExtension Id: 3d8b87d4-0c51-4c46-821a-efa82e1dc98f
SharedVariables: ChangedEntityTypes: System.Collections.Generic.Dictionary`2[System.String,System.String];
InputParameters: LeadId: Microsoft.Xrm.Sdk.EntityReference; CreateAccount: False; CreateContact: True; CreateOpportunity: True; OpportunityCurrencyId: Microsoft.Xrm.Sdk.EntityReference; Status: Microsoft.Xrm.Sdk.OptionSetValue; SuppressDuplicateDetection: True;
OutputParameters: CreatedEntities: Microsoft.Xrm.Sdk.EntityReferenceCollection;
PreEntityImages:
PostEntityImages:
</faultstring><detail><OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance"><ErrorCode>-2147220891</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"><KeyValuePairOfstringanyType><a:key>OperationStatus</a:key><a:value i:type="b:int" xmlns:b="www.w3.org/.../XMLSchema">0</a:value></KeyValuePairOfstringanyType><KeyValuePairOfstringanyType><a:key>SubErrorCode</a:key><a:value i:type="b:int" xmlns:b="www.w3.org/.../XMLSchema">-2146233088</a:value></KeyValuePairOfstringanyType></ErrorDetails><Message>Error in 'CoreMotives.Crm.Plugins6.TrackTriggeredEvent' v1.0.16.0:
Message: That assembly does not allow partially trusted callers.
Stack: at CoreMotives.Crm6.Plugins.Utility.GetExceptionMessage(Exception exception)
at CoreMotives.Crm6.Plugins.Utility.LogHttpPostException(Exception e, PluginSettings settings, ITracingService tracingService)
at CoreMotives.Crm6.Plugins.Utility.SendHttpPostRequest(String uri, String parameters, String userAgent, WebProxy proxy, PluginSettings settings, ITracingService tracingService)
at CoreMotives.Crm6.Plugins.Utility.PostEventData(PluginSettings settings, Guid recordId, String recordType, String eventName, Guid crmUserId, IEnumerable`1 additionalParameters, String userAgent, WebProxy proxy, ITracingService tracingService)
at CoreMotives.Crm6.Plugins.TrackTriggeredEvent.Execute(IServiceProvider serviceProvider)
PLUGIN SETTINGS:
CustomerId: 9150c0ed-4cf1-46ea-ba22-eba9e1718749
InstanceId: 507
ServerUrl: databroker.coremotives.com/.../TrackEvent.aspx
SecurityToken: 9Eb8L1RcF9aoxFYpmxWdQsE2rAeg06BJ77vnlXYOEJ4=
CONTEXT INFORMATION:
UserId: 8d73307b-4bdb-e311-b655-d89d67633e10
OrganizationId: 7ab9bd36-3007-4ef6-abd8-7d00656715a0
OrganizationName: crm4org7ab9b
MessageName: QualifyLead
Stage: 40
Mode: 0
PrimaryEntityName: lead
SecondaryEntityName: none
BusinessUnitId: 8e724c00-bf39-e011-8da3-1cc1de72e35e
CorrelationId: 42e4f414-cb06-434a-bd6c-2058d42f4a3b
Depth: 1
InitiatingUserId: dbb9e19c-57bf-e511-810d-3863bb34c940
IsExecutingOffline: False
IsInTransaction: True
IsolationMode: 2
Mode: 0
OperationCreatedOn: 3/9/2017 9:40:34 AM
OperationId: 0e6387c4-49ac-4b2e-93e9-0146d5b9a7ad
PrimaryEntityId: 00000000-0000-0000-0000-000000000000
OwningExtension LogicalName: sdkmessageprocessingstep
OwningExtension Name: Qualify Lead
OwningExtension Id: 3d8b87d4-0c51-4c46-821a-efa82e1dc98f
SharedVariables: ChangedEntityTypes: System.Collections.Generic.Dictionary`2[System.String,System.String];
InputParameters: LeadId: Microsoft.Xrm.Sdk.EntityReference; CreateAccount: False; CreateContact: True; CreateOpportunity: True; OpportunityCurrencyId: Microsoft.Xrm.Sdk.EntityReference; Status: Microsoft.Xrm.Sdk.OptionSetValue; SuppressDuplicateDetection: True;
OutputParameters: CreatedEntities: Microsoft.Xrm.Sdk.EntityReferenceCollection;
PreEntityImages:
PostEntityImages:
</Message><Timestamp>2017-03-09T09:40:35.2617621Z</Timestamp><ExceptionSource>PluginExecution</ExceptionSource><InnerFault i:nil="true"/><OriginalException>Microsoft.Xrm.Sdk.InvalidPluginExecutionException
at CoreMotives.Crm6.Plugins.TrackTriggeredEvent.Execute(IServiceProvider serviceProvider)
at Microsoft.Crm.Sandbox.SandboxAppDomainHelper.<>c__DisplayClass7.<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>
[CoreMotives.Crm6.Plugins: CoreMotives.Crm6.Plugins.TrackTriggeredEvent]
[3d8b87d4-0c51-4c46-821a-efa82e1dc98f: Qualify Lead]
</TraceText></OrganizationServiceFault></detail></s:Fault></s:Body></s:Envelope>