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"

Article translations Article translations
Article ID: 971356 - View products that this article applies to.
Expand all | Collapse all


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: July 2, 2009 - Revision: 1.0
  • Microsoft Dynamics CRM 4.0
kbfix kbexpertiseinter kbsurveynew kbmbsmigrate kbqfe KB971356

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from