Gus
Gus

Reputation: 649

.Net Ria Services Deployment

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.

Any ideas on what may be wrong?

Upvotes: 0

Views: 407

Answers (1)

Bryant
Bryant

Reputation: 8670

I would check to make sure that you have:

  1. The correct connection string in your web.config.
  2. The application is configured to run under a service account that has permissions to access the database.

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

Related Questions