Error message if the "OnChange()" event is enabled for a lookup field in a entity form and if this field is changed after a "Duplicates detected" message occurs in Microsoft Dynamics CRM 4.0: "Stack overflow at line: 0"

This article has been archived. It is offered "as is" and will no longer be updated.
Consider the following scenario:
  • In Microsoft Dynamics CRM, you define a duplicate detection rule on an entity, and you include lookup fields of this entity.
  • You enable the OnChange() event for the same lookup fields in the main form of the entity.
  • You try to enter the data that will trigger a "Duplicates Detected" message, and then you click Cancel to return to the form.
In this scenario, if you change the value of one of the monitored lookup fields, you receive an error message that resembles the following:
Stack overflow at line: 0.
This problem is fixed in the latest cumulative update rollup for Microsoft Dynamics CRM 4.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
949256 Microsoft Dynamics CRM 4.0 updates and hotfixes

Article ID: 971356 - Last Review: 01/16/2015 17:18:17 - Revision: 2.0

  • Microsoft Dynamics CRM 4.0
  • kbnosurvey kbarchive kbfix kbexpertiseinter kbsurveynew kbmbsmigrate kbqfe KB971356