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

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Xbitz Autonumber and Dynamics CRM online

(0) ShareShare
ReportReport
Posted on by

Hi Expert,

I am getting error with online crm regarding auto number columns, implemented in contact entity. although auto number functionality is working with other entity in same solution.

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): Xbitz.Crm.AdvancedCRMAutoNumber.GenerateAutoNumber: System.NullReferenceException: Object reference not set to an instance of an object.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): Xbitz.Crm.AdvancedCRMAutoNumber.GenerateAutoNumber: System.NullReferenceException: Object reference not set to an instance of an object.</Message>
  <Timestamp>2016-08-04T09:15:37.7895534Z</Timestamp>
  <InnerFault i:nil="true" />
  <TraceText>

[Xbitz.Crm.AdvancedCRMAutoNumber: Xbitz.Crm.AdvancedCRMAutoNumber.GenerateAutoNumber]
[f1a5744f-9084-e411-810e-e83935c224ae: Xbitz.Crm.AdvancedCRMAutoNumber.GenerateAutoNumber: Create of any Entity]

GenerateAutoNumber. Check to see if there are any auto number settings for the entity contact.
GenerateAutoNumber. Creating the Organization Service.
GenerateAutoNumber. Getting the Auto Number Settings for entity contact.
GenerateAutoNumber. Found 2 Auto Number Setting(s) for entity contact.


</TraceText>
</OrganizationServiceFault>

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    razdynamics Profile Picture
    17,308 User Group Leader on at
    RE: Xbitz Autonumber and Dynamics CRM online

    Hi Paul, Its a 3rd party plugin so you may need to raise the fault with them directly, you may need to reregister plugin steps for the missing entity possibly.  Just to let you know the Dynamics CRM Developer community such as Myself , Daryl Labar and Celedon Parters have also released open source Autonumber solutions that you can use, and ADX Studio has also released a productivity pack which includes autonumber which is also free incase if you don't get the support you need from the provider

    Hope that helps :)

  • Suggested answer
    Sukh Gill Profile Picture
    967 on at
    RE: Xbitz Autonumber and Dynamics CRM online

    GenerateAutoNumber. Found 2 Auto Number Setting(s) for entity contact.

    Looks like the problem is that you have 2 auto number settings for the Contact entity which is possibly updating the same field.  Delete 1 of the auto number settings and this should then work.

     

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
UllrSki Profile Picture

UllrSki 2

#3
SC-08081331-0 Profile Picture

SC-08081331-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans