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)