Note that there are some explanatory texts on larger screens.

plurals
  1. POSporadic Arg_COMException in Silverlight when loading data from RIA service
    primarykey
    data
    text
    <p>Users sometimes get strange exception while working with application. I could not ever reproduce it. It happens when executing one particular domain service query. This query gets executed quite often (each time user saves changes).</p> <p>Query does not have parameters. There is simple filtering: Context.GetEventsQuery().Where(lce => lce.Id > maxId)</p> <p>Domain service method is simple: public IQueryable GetEvents() { return ObjectContext.Events; }</p> <p>After it happens first time, it keeps happening every time (until user refreshes the webpage).</p> <p>Here is exception text from logs: Load operation failed for query 'GetEvents'. System.ServiceModel.DomainServices.Client.DomainOperationException: Load operation failed for query 'GetEvents'. ---> System.Exception ---> System.Exception: [Arg_COMException] Arguments: Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See <a href="http://go.microsoft.com/fwlink/?linkid=106663&amp;Version=4.0.50917.0&amp;File=mscorlib.dll&amp;Key=Arg_COMException" rel="noreferrer">http://go.microsoft.com/fwlink/?linkid=106663&amp;Version=4.0.50917.0&amp;File=mscorlib.dll&amp;Key=Arg_COMException</a> at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult) at System.Net.Browser.BrowserHttpWebRequest.&lt;>c__DisplayClass5.b__4(Object sendState) at System.Net.Browser.AsyncHelper.&lt;>c__DisplayClass2.b__0(Object sendState) --- End of inner exception stack trace --- at System.ServiceModel.DomainServices.Client.WebDomainClient`1.EndQueryCore(IAsyncResult asyncResult) at System.ServiceModel.DomainServices.Client.DomainClient.EndQuery(IAsyncResult asyncResult) at System.ServiceModel.DomainServices.Client.DomainContext.CompleteLoad(IAsyncResult asyncResult) --- End of inner exception stack trace --- at System.ServiceModel.DomainServices.Client.OperationBase.Complete(Exception error) at System.ServiceModel.DomainServices.Client.LoadOperation.Complete(Exception error) at System.ServiceModel.DomainServices.Client.DomainContext.CompleteLoad(IAsyncResult asyncResult) at System.ServiceModel.DomainServices.Client.DomainContext.&lt;>c__DisplayClass1b.b__17(Object )</p> <p>What can be the reason?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload