Reputation: 649
I am having difficulty deploying RIA services/Silverlight 3 to a staging environment.
Here is my situation: 1) I am using RIA for authentication. This works fine on both my development machine and in the staging environment.
2) I created a custom LinqToEntities RIA service to get data from the database into my application. This service works fine when I do a local build, but does not work on the staging server.
Context.Load(qry);
to put data into the entities. The LoadOperation's complete event fires, but no data was loaded, the serverside methods were never called. Any ideas on what may be wrong?
Upvotes: 0
Views: 407
Reputation: 8670
I would check to make sure that you have:
Your Context.Load should be passing a completed event handler and in that handler you chould check that the LoadOperation.HasError is false. There will be no exception thrown if something went wrong, you have to explicity check for the error.
Upvotes: 1