Hi we were getting this error on our plugin on post update of an entity.
The plugin was using Associate message to associate one entity record to other.
If the records were already associated, it was throwing “duplicate key” error, so we were catching that fault exception and then were updating few other records in our plugin. However just after the execution of our plugin, we were getting the CRM’s Error dialog box having a error log file mentioning the above error.
Later we realized that once a Fault Exception is thrown then the execution of the plugin is no longer in transaction. We can’t catch the faualt exception and still be in transaction. This post clarified that.
http://social.microsoft.com/Forums/en-US/crmdevelopment/thread/ca1301ca-cef9-4940-9cb4-e968641199f6
Hope it helps !
Thank you Nishant, this hepled me!
LikeLike
My pleasure Andriy 🙂 How are you ?
LikeLike
nice dude saved us a lot of time 200 plugins in our project!
LikeLike
This website is great. I like it.(www.linkspirit.net)N_X_D_S.
LikeLike
Hello there, simply become alert to your blog thru Google, and located that it’s really informative. I’m gonna be careful for brussels. I will be grateful in case you proceed this in future. Numerous people will be benefited out of your writing. Cheers!
LikeLike
Bon je n’aі pas eeu l’occasion de finir de lire toutefois
je reviens dans laa joսrnée
LikeLike
Ӎerveilleux poste, cߋntinue comme cela
LikeLike
Les posts ѕont effectivement fascinants
LikeLike
Јe vais finir de voir tout cela demain
LikeLike