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

C# ExecuteMultipleRequest no response

$
0
0

I load some CRM records using C# .NET.  It was slow, so we switched to ExecuteMultipleRequest to send a batch of records.  After upgrading to CRM 2016 and adding some workflows, it doesn't always get a response.

Pseudo code:

OrganizationService orgService  uses the connection string

request = new ExecuteMultipleRequest()
{
  Settings = new ExecuteMultipleSettings()
{
  ContinueOnError = true,
  ReturnResponses = true
},
  Requests = new OrganizationRequestCollection()
};

ExecuteMultipleResponse response = (ExecuteMultipleResponse)orgService.Execute(request);

So the code works, but not always.  Obviously I would like to reduce the CRM clutter to make it faster by reducing plugins/workflows, but what other options are there?  I can't seem to find a timeout setting, since this should be something along the lines of a web service call.  Is there another way to add them?


Viewing all articles
Browse latest Browse all 46379

Trending Articles



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