web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

C# ExecuteMultipleRequest no response

(0) ShareShare
ReportReport
Posted on by

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?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mahadeo Matre Profile Picture
    17,021 on at

    Hi,

    It will fail if you are sending more than 1000 requests using ExecuteMultipleRequest. then it will fail.

    You can check limitations here

    msdn.microsoft.com/.../jj863631.aspx

    another option to load records into CRM, by using data import using CSV file or you can use SSIS packages or some thrid party tools like Scribe, KingwaySoft etc.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans