I recently split my crm backend and frontend roles and I have been having plugin errors. I have added the neccecary SPN's and permissions in the registry for the CRM service. My current error is as below, what should I do to resolve it. It occurs when I try to save records that have an autonumber plugin, but it saves fine on those records without.
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: Unexpected exception from plug-in (Execute): Celedon.getNextAutoNumber: System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.Detail: <OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts"> <ErrorCode>-2147220956</ErrorCode> <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" /> <Message>Unexpected exception from plug-in (Execute): Celedon.getNextAutoNumber: System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.</Message> <Timestamp>2017-04-19T13:10:58.0449667Z</Timestamp> <InnerFault i:nil="true" /> <TraceText> [CeledonPartners.AutoNumber: Celedon.getNextAutoNumber] [e5180779-8cbb-e611-80bd-00155d150b00: CeledonPartners.AutoNumber.new_ithelpdesk] Entered getNextAutoNumber.Execute() : (Correlation Id: dd65eeef-013e-44a6-a733-d87a2becaf49, Initiating User: 66da85bb-8da1-e611-9424-6eae8b2eeb93) getNextAutoNumber is firing for Entity: new_ithelpdesk, Message: Create : (Correlation Id: dd65eeef-013e-44a6-a733-d87a2becaf49, Initiating User: 66da85bb-8da1-e611-9424-6eae8b2eeb93) Exiting getNextAutoNumber.Execute() : (Correlation Id: dd65eeef-013e-44a6-a733-d87a2becaf49, Initiating User: 66da85bb-8da1-e611-9424-6eae8b2eeb93) </TraceText> </OrganizationServiceFault>
The above error is the latest when I try to save a record
*This post is locked for comments