We are currently having an issue with Xbit auto number in 2016, we restored a CRM database to production and the XBIT auto number fails with the following error:
Unexpected exception from plug-in (Execute): Xbitz.Crm.AdvancedCRMAutoNumber.GenerateAutoNumber: System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.
MSCRM Error Report:
--------------------------------------------------------------------------------------------------------
Error: Microsoft.Crm.CrmException
Error Number: 0x80040265
Error Message: Skipped
Error Details: Skipped
Source File: Not available
Line Number: Not available
Request URL:
Stack Trace Info: Skipped
[2017-01-18 16:09:44.653] Process: w3wp |Organization:727e88ae-e295-e611-80de-0050569e10fa |Thread: 99 |Category: Sandbox |User: e64c96bb-e895-e611-80de-0050569e10fa |Level: Error |ReqId: fef62b00-3456-4b50-ba7a-fec922eff93a | SandboxCodeUnit.Execute ilOffset = 0x261
>TrackingId: afa7ac95-ffc3-4b9f-a461-980e0078627a, Depth: 1, Message: SandboxPlugin.Execute: Client:1FF09219, OriginalException: Type: System.ServiceModel.FaultException`1[Microsoft.Xrm.Sdk.OrganizationServiceFault] ErrorCode: -2147220956
[2017-01-18 16:09:44.653] Process: w3wp |Organization:727e88ae-e295-e611-80de-0050569e10fa |Thread: 99 |Category: Sandbox |User: e64c96bb-e895-e611-80de-0050569e10fa |Level: Error |ReqId: fef62b00-3456-4b50-ba7a-fec922eff93a | SandboxCodeUnit.Execute ilOffset = 0x261
>TrackingId: afa7ac95-ffc3-4b9f-a461-980e0078627a, Depth: 1, Message: SandboxPlugin.Execute: CrmException: Xbitz.Crm.AdvancedCRMAutoNumber, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b0dbcd530d1b2c81; -2147220956; Microsoft.Crm.CrmException: Unexpected exception from plug-in (Execute): Xbitz.Crm.AdvancedCRMAutoNumber.GenerateAutoNumber: System.ServiceModel.CommunicationObjectFaultedException: The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the Faulted state.
[2017-01-18 16:09:44.653] Process: w3wp |Organization:727e88ae-e295-e611-80de-0050569e10fa |Thread: 99 |Category: Platform |User: e64c96bb-e895-e611-80de-0050569e10fa |Level: Error |ReqId: fef62b00-3456-4b50-ba7a-fec922eff93a | MessageProcessor.Execute ilOffset = 0x1D9
>MessageProcessor fail to process message 'Create' for 'aasa_auditview'.
[2017-01-18 16:09:44.655] Process: w3wp |Organization:727e88ae-e295-e611-80de-0050569e10fa |Thread: 99 |Category: Platform |User: e64c96bb-e895-e611-80de-0050569e10fa |Level: Error |ReqId: fef62b00-3456-4b50-ba7a-fec922eff93a | MessageProcessor.Execute ilOffset = 0x1EB
*This post is locked for comments