Error when executing multiple BeginUpdate calls in a short timeframe RRS feed

  • Question

  • Hi Everyone,

    I am working on a silverlight control which shows some CRM data in a DataGrid. If the user modifies the data in the grid, it is also updated in CRM. It is simple up to this point. However, if the user modifies multiple cells in a short timeframe (i.e. tabs through a row and modifies every value), some of the update messages return with the following error: The remote server returned an error: NotFound. I tested multiple times, and it seems completely random which messages fail at a given time. Do you have any suggestions how can I resolve this issue?

    I tried to delay the execution by adding a Thread.Sleep(1000) before any subsequent calls, but it did not help either. I could also wait for the previous response before calling the next update, but in this case the user experience suffers a lot.



    Thursday, October 2, 2014 11:19 AM

All replies

  • It sounds like you're reaching a limit of the number of concurrent requets from Silverlight. I don't know what this limit is, and whether it is configurable, but it sounds like it is more of a Silverlight issue than a CRM one

    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    Thursday, October 2, 2014 3:42 PM
  • Hi David,

    Thank you for your response. It seems this was the case. I managed to overcome the problem by creating a queue for the create/update messages, which executed the calls one at a time, and called the next one in the response of the finished call.

    Friday, October 3, 2014 6:41 AM