Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 55831

CompoundCreateRequest not creating all child entity records sometimes due to deadlock with Async service

$
0
0

Hello All,

I am using CRM 2013 on-premise version with SP1 UR2 (not updated with UR3 yet). I have one custom .net page which I am opening from Order header screen. In this custom page, I have just "copying.." progress bar in UI. In back, I am copying whole order and its products to new Order. So I am using "CompoundCreateRequest" method which creates order header and all its products in a single service call.

This works fine for 5 to 6 products. When I have more products, sometime it only copies some of the products. I have digged into detail and in sql profiler, I found deadlocks with Async service. I found this detail in deadlock graph. This workflows are simply for email notifications. When I have stopped CRM Async service, I don't have any issues.

I am thinking for alternate of CompoundCreateRequest, may be, adding products one by one.

Anyone had such issue? 


Viewing all articles
Browse latest Browse all 55831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>