views:

18

answers:

1

I have a silverlight appliction using ria services. It works fine in the browser; however, when the application runs out of browser, I am getting the infamous "The remote server returned an error: NotFound."

It occurs in a view model. I have a domain context and when the view model loads, I load three queries.

_domainContext.Load<Person>(query1,Callback1,null);
_domainContext.Load<Employer>(query2,Callback2,null);
_domainContext.Load<Car>(query3,Callback3,null);

Sometimes query1 fails, sometimes it is one of the other queries. There is no pattern. I tried using three different domain context objects and I got the same results. If I only run one of the three queries ( it does not matter which one), Ria works fine.

I am outputing the ria log to an svclog; however there are no errors in it. Why does this work without issue in browser but fails out of browser? How do I fix it?

A: 

Have you tried setting the out-of-browser app as a trusted app? I don't recall the exact term. If not, does the server-side have a clientaccesspolicy file?

AlvinfromDiaspar
Yes, I have it running with elevated trust when it is running out-of-browser.
Maudite