Looking at the following error...could someone give me an idea what may be causing this? The error is generated after changing the manager field for any user and trying to save the record.
Unhandled Exception:
System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.BadImageFormatException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #2AEA9224Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic">
<KeyValuePairOfstringanyType>
<d2p1:key>CallStack</d2p1:key>
<d2p1:value xmlns:d4p1="www.w3.org/.../XMLSchema" i:type="d4p1:string"> at System.Reflection.RuntimeAssembly.nLoadImage(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence evidence, StackCrawlMark& stackMark, Boolean fIntrospection, SecurityContextSource securityContextSource)
at System.Reflection.Assembly.Load(Byte[] rawAssembly, Byte[] rawSymbolStore, SecurityContextSource securityContextSource)
at Microsoft.Crm.Sandbox.SandboxAppDomainHelper.LoadPluginAssembly(Byte[] assemblyContents, Byte[] assemblySymbols)
at Microsoft.Crm.Sandbox.SandboxAppDomainHelper.LoadPluginAssembly(Byte[] assemblyContents, Byte[] assemblySymbols)
at Microsoft.Crm.Sandbox.SandboxAppDomain.LoadPluginAssembly(Guid pluginAssemblyId, Int32 pluginAssemblyHashCode, String assemblyName, String trackingId, Int32 depth)
at Microsoft.Crm.Sandbox.SandboxWorker.ValidateAndGetAppDomainHelper(SandboxCallInfo callInfo, SandboxExecutionContext requestContext, Guid pluginAssemblyId, Int32 sourceHash, String assemblyName, Guid pluginTypeId, String pluginTypeName, SandboxTracker tracker, SandboxRequestCounter& workerCounter)
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)</d2p1:value>
</KeyValuePairOfstringanyType>
</ErrorDetails>
<Message>System.BadImageFormatException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #2AEA9224</Message>
<Timestamp>2017-05-30T17:44:07.7803847Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText>
[ICS.PharMerica.Plugins.UpdateTimeEntryApprover: ICS.PharMerica.Plugins.UpdateTimeEntryApprover]
[d77f2ab3-aba0-e311-9218-00155d001314: ICS.PharMerica.Plugins.UpdateTimeEntryApprover: PreUpdate of systemuser]
</TraceText>
</OrganizationServiceFault>
*This post is locked for comments