Still looking for a sponsor Max Paulousky is looking for a Silverlight/.Net job in the Commonwealth

Share to Facebook Tweet this! Share to MySpace Share to Google Share to Live   Share via AddThis

To Remember: Deployment of Silverlight Applications With Wcf Ria Services

Load operation failed for query '...'. The remote server returned an error: NotFound.
   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.<>c__DisplayClass1b.<Load>b__17(Object )

If you get the Load Operation Failed error, check following sections

  1. System.ServiceModel.DomainServices.Hosting.dll,  and System.ServiceModel.DomainServices.Server.dll System.ServiceModel.DomainServices.Hosting.OData.dll should be added to the bin folder of the web application (Select the assembly in the list of references, press F4, set Copy Local property to True). We need to do it because not all hosting providers install Wcf Ria Services on their hosting environments;
  2. Uncheck Enable Integrated Windows Authentication and check the Allow Anonymous Access option in the settings of a virtual folder;
  3. Change <authentication mode="Windows" /> to Forms in the web.config file.
This work is licensed under a Creative Commons Attribution By license.

Leave a Comment [ RSS ]

Comments have been closed on this topic.