Submit a failure – get notfound from the RIA service using Silverlight 4 on Submitchanges ()

I am using SL4 and RIA Services to build a new solution based on the Silverlight business application template. Since I am still developing, I just use localhost.

Submit operation failed. The remote server returned an error: NotFound.

So far, I haven’t found what I haven’t found.

I tried to use Fiddler (and WCF binary plugin), according to As far as I know, the request looks good, but according to Fiddler:

ReadResponse() failed: The server did not return a response for this request.

< p>Hmm…that may be wrong, because my callback breakpoint was hit. (This is how I got the NotFound error message.)

I also tried to edit my web with the following .config file:











This is not Provide any new information. I didn’t have any ideas on how to track down the “real” problem at first. Any ideas? ?

Saurabh and Dan both have good posts on debugging “not found” exceptions.

http://blogs.msdn.com/b/saurabh/archive/2010/03/16/ria-services-application-deployment.aspx

http:// blogs.objectsharp.com/post/2010/04/13/WCF-RIA-Services-%E2%80%9CNot-Found%E2%80%9D-Error-Message.aspx

Kyle< /p>

I am using SL4 and RIA Services to build a new solution based on the Silverlight business application template. Since I am still developing, I just use localhost.

I am trying to test the SubmitChanges function by making a single change in the associated (combined) entity and calling SubmitChanges. I have a breakpoint in the DomainService of the entry point in the UpdateService. The breakpoint is hit and everything looks like No problem. At this point, I don’t actually have the Update method to do anything – it just returns. In the client callback, I check the SubmitOperation object for errors. It reports:

Submit operation failed. The remote server returned an error: NotFound.

So far, I haven’t found what I haven’t found.

I tried to use Fiddler (and WCF binary plugin ), as far as I know, the request looks good, but according to Fiddler:

ReadResponse() failed: The server did not return a response for this request.

ReadResponse() failed: The server did not return a response for this request.

pre>

Hmm...that may be wrong, because my callback breakpoint was hit. (This is how I got the NotFound error message.)

I also tried to edit with the following My web.config file:











This doesn't provide any new information. I didn't have any ideas on how to track the "real" problem at first. Any ideas? ?

Saurabh and Dan both have good posts on debugging "not found" exceptions.

http:// blogs.msdn.com/b/saurabh/archive/2010/03/16/ria-services-application-deployment.aspx

http://blogs.objectsharp.com/post/2010/04/ 13/WCF-RIA-Services-%E2%80%9CNot-Found%E2%80%9D-Error-Message.aspx

Kyle

Leave a Comment

Your email address will not be published.