web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Troubleshoot with Xbitz Autonumber and Dynamics CRM 2016

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Verified answer
    Andreas Cieslik Profile Picture
    9,267 on at

    Perhaps you experience this issue after database restore:

    community.dynamics.com/.../153832

  • Deon Pheiffer DD Profile Picture
    on at

    Thanks, this worked

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans