Hi,
in my solution i've developed some plugin and installed into CRM 2016 Online.
All fine and done while CRM version was 2016 (TEST and PROD environments).
Now TEST environment CRM is upgraded into CRM 365 Online and one plugin don't work.
My Production entironment still working.
How can I fix the problem?
This is the error message:
System.Xml.XmlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #8AFEE774
and this is the error detail:
Plugin Trace:
[CRM.Plugin.HU: CRM.Plugin.HU.CampaignStatusChanged]
[6b6dc950-3315-e711-80f0-c4346bacde44: CRM.Plugin.HU.CampaignStatusChanged: Update of campaign]
Error Message:
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Xml.XmlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #8AFEE774
Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ActivityId>f2366a6a-a8ef-4c94-ba1a-e7321dcbfe66</ActivityId>
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>System.Xml.XmlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #8AFEE774</Message>
<Timestamp>2017-05-18T15:54:37.2756439Z</Timestamp>
<ExceptionRetriable>true</ExceptionRetriable>
<ExceptionSource>PluginExecution</ExceptionSource>
<InnerFault i:nil="true" />
<OriginalException>System.Reflection.TargetInvocationException
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Crm.Sandbox.SandboxAppDomainHelper.CreateSandboxCodeUnit(ConstructorInfo constructorInfo, Object[] args, String typeName)
at Microsoft.Crm.Sandbox.SandboxAppDomainHelper.Execute(IOrganizationServiceFactory organizationServiceFactory, Dictionary`2 sandboxServices, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, IPluginExecutionContext requestContext, Boolean enablePluginStackTrace, Boolean chaosFailAppDomain)
at Microsoft.Crm.Sandbox.SandboxAppDomainHelper.Execute(IOrganizationServiceFactory organizationServiceFactory, Dictionary`2 sandboxServices, String pluginTypeName, String pluginConfiguration, String pluginSecureConfig, IPluginExecutionContext requestContext, Boolean enablePluginStackTrace, Boolean chaosFailAppDomain)
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>
[CRM.Plugin.HU: CRM.Plugin.HU.CampaignStatusChanged]
[6b6dc950-3315-e711-80f0-c4346bacde44: CRM.Plugin.HU.CampaignStatusChanged: Update of campaign]
</TraceText>
</OrganizationServiceFault>