开发者

The remote server returned an error: Not Found - Silverlight

I have an ASMX web service that is referenced by my silverlight front end, and have recently started getting the error "The remot开发者_JAVA百科e server returned an error: Not Found". The error seems to be related to the fact that i have recently added associations between the tables (if i remove the associations, the service works fine). This seems to be similar to the error reported here , but he does not say how he solved the problem. I am using Silverlight 4, to an ASMX web service that uses LINQ to SQL. I was wondering whether the problem was simply too much data being returned, so I upped the HttpMaxRequest length and got the same problem. Any Ideas?


Silverlight will only display NotFound when your service crashes. Try setting a breakpoint on the server side code and step your way through. There is a server error somewhere.


The problem turned out to be that the LINQ to SQL was creating a circular reference, therefore not being able to serialize the objects. Fix found here

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜