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:
Microsoft Dynamics CRM 4.0 updates and hotfixes