I have created a simple Silverlight Plugin that makes a call to a WCF RIA Service to retrieve data. This works fine when developing on a Windows 7 machine and running it in the VS2010 Cassini environment.
However, running my application on my laptop computer, a Windows XP machine with IIS 5.1, causes me to get an error every time I call the service from my Silverlight Plugin either in Cassini or in hosted IIS:
System.ServiceModel.DomainServices.Client.DomainOperationException: Load operation failed for query 'GetInfo'. The remote server returned an error: NotFound. ---> System.ServiceModel.CommunicationException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound. ---> System.Net.WebException: The remote server returned an error: NotFound. at System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult) at System.Net.Browser.BrowserHttpWebRequest.<>c_DisplayClass5.b_4(Object sendState) at System.Net.Browser.AsyncHelper.<>c_DisplayClass4.b_1(Object sendState) --- End of inner exception stack trace --- at System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state) at System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result) --- End of inner exception stack trace --- at System.ServiceModel.DomainServices.Client.WebDomainClient`1.EndQueryCore(IAsyncResult asyncResult) at System.ServiceModel.DomainServices.Client.DomainClient.EndQuery(IAsyncResult asyncResult) at System.ServiceModel.DomainServices.Client.DomainContext.CompleteLoad(IAsyncResult asyncResult) --- End of inner exception stack trace ---} System.Exception
How can I make my Silverlight and RIA Services environment on Windows XP?
Environment:
Windows XP
Visual Studio 2010
.NET Framework 4
The query takes about 7 seconds to return an error
RIA Services SDK installed
RIA Services Toolkit installed
Silverlight Developer Runtime installed
Silverlight 4 SDK installed