Deployment Error: Silverlight 4.0 w/WCF RIA Services in ASP.NET MVC 2 App

Posted by Dennis Ward on Stack Overflow See other posts from Stack Overflow or by Dennis Ward
Published on 2010-05-17T22:43:12Z Indexed on 2010/05/17 22:50 UTC
Read the original article Hit count: 1213

I've got an MVC 2 App with an RIA Services link to a Silverlight Application. On my local machine, all is well, but when I deploy to Discount ASP servers, neither the MVC controller nor the WCF RIA services called from silverlight function:

A silverlight datagrid gets a load error:

System.ServiceModel.DomainServices.Client.DomainOperationException: Load operation failed for query... The remote server returned an error NotFound.

In the MVC page where I had a simple table that worked prior to adding an EF model and DomainDataSource, I now get the error:

Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

This is very similar to an issue I had before, but after upgrading from the betas of WCF/Silverlight 4, but the fix I had added there doesn't seem to work any longer. The link for that issue is: SL4/MVC2/WCF RIA Services = Load Error

I'm really struggling with deploying, and could use some help if anybody can shed any light on this.

Thanks! Dennis

© Stack Overflow or respective owner

Related posts about wcf-ria-services

Related posts about silverlight-4.0