locked
Bulk Create Error for 10000 records RRS feed

  • Question

  • Hi ,

    I am using crm 2011 new bulk create  as given (https://community.dynamics.com/crm/b/thecrmguys/archive/2013/01/09/hands-on-with-dynamics-crm-2011-s-new-executemultiple-request.aspx) . I  can create 1000 records but for 10000 record it's giving 

    this  error -   There was no endpoint listening at https://XXXXXX:8448/XRMServices/2011/Organization.svc that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more detail.

    I am  looping,  checking the values in crm 2011 database for all 10000 records and it's taking 45 minutes to perform looping and vallidating . After that when it enters below code then it gives error.  

    foreach (var entity in CollectionCreate.Entities)
                  {
                   CreateRequest createRequest = new CreateRequest { Target = entity };
                   requestWithResults.Requests.Add(createRequest);
                  }

                //// Execute all the requests in the request collection using a single web method call.
                ExecuteMultipleResponse responseWithResults =
                  (ExecuteMultipleResponse)orgService.Execute(requestWithResults);

    .

    Is  there any data(Size) restriction that we can pass through WCF service to CRM database.

    Any help will be appreciated


    Abhishek

    Monday, January 5, 2015 5:39 AM

Answers