Hello,
I recently setup a new Silverlight 4 project which did not require a database. It did however require a Contact page so I followed the examples provided in Chapter 12 and setup a simple page to test / prototype a function using WCF RIA Services.
I was successful on setting up the functions on my dev pc and see that the functions are reaching the web service when I run it, however, when I deploy my app to Discount ASP.Net (DASP) I receive the following error;
Invoke operation 'SendEmail' failed. The remote server returned an error: NotFound.
at System.ServiceModel.DomainServices.Client.Operatio nBase.Complete(Exception error)
at System.ServiceModel.DomainServices.Client.InvokeOp eration.Complete(Exception error)
at System.ServiceModel.DomainServices.Client.DomainCo ntext.CompleteInvoke(IAsyncResult asyncResult)
at System.ServiceModel.DomainServices.Client.DomainCo ntext.<>c__DisplayClass38.<InvokeOperation>b__34(O bject )
Here's a little background on what I've done and how I'm setup: I'm using DASP as a web host and am using 'sub domains' for my testing of multiple web sites. So, this web site is setup in a sub domain and I've setup each sub domain (as needed) as an 'application root'. DASP has said that the sub domains is not the issue but I'm still having problems.
I've added what I believe is all of the necessary .dll's to my bin directory but no joy. The URL to my page is:
http://www.officeautomatedsystems.co...ton/#contactUs
My web service is: rykWeston.Web.Services.
My domain service is: UserInformationService and my context is: UserInformationContext.
I'm also using VS 2010 Pro and have installed all SL4 / WCF RIA toolkits.
Does anyone have any suggestions for me to try?
Many thanks in advance,
Dave