Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Microsoft Dynamic CRM ExecuteMultiple Request Update Error. Microsoft Dynamic CRM, This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server

Posted on by 187

Hi Guys,

I am updating ~20,000 records through Console Application and I was using ExecuteMultiple Request for update. Sometimes I am getting below error.

An error occurred while receiving the HTTP response to http://***************/XRMServices/2011/Organization.svc. This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server (possibly due to the service shutting down). See server logs for more details.

Any help to overcome the issue

*This post is locked for comments

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Microsoft Dynamic CRM ExecuteMultiple Request Update Error. Microsoft Dynamic CRM, This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server

    Not sure then :(. May be someone else can suggest something.

  • Balaji Karpurapu Profile Picture
    Balaji Karpurapu 187 on at
    RE: Microsoft Dynamic CRM ExecuteMultiple Request Update Error. Microsoft Dynamic CRM, This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server

    yes. reduced to 500 still same error

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Microsoft Dynamic CRM ExecuteMultiple Request Update Error. Microsoft Dynamic CRM, This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server

    Did you try reduce the batch size?

  • Balaji Karpurapu Profile Picture
    Balaji Karpurapu 187 on at
    RE: Microsoft Dynamic CRM ExecuteMultiple Request Update Error. Microsoft Dynamic CRM, This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server

    Hi Ravi,

    Batch Size is 1000. for first 2,000 records are updating with out any error.

    We are using Stored Procedure to get result set .

    Any help?

  • Balaji Karpurapu Profile Picture
    Balaji Karpurapu 187 on at
    RE: Microsoft Dynamic CRM ExecuteMultiple Request Update Error. Microsoft Dynamic CRM, This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server

    Okay Ravi, Will try and update you.Thanks

  • RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Microsoft Dynamic CRM ExecuteMultiple Request Update Error. Microsoft Dynamic CRM, This could be due to the service endpoint binding not using the HTTP protocol. This could also be due to an HTTP request context being aborted by the server

    Hi,

    What is the batch size you are using. try reducing it to say 100 and see if it helps. You can refer below sample-

    community.dynamics.com/.../sample-code-to-bulk-update-the-record-using-executemultiple-in-dynamics-365

    Hope this helps.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans