Error notfound returned when Silverlight calls the WCF Remote Server

Source: Internet
Author: User
Tags silverlight

Silverlight calls to WCF are sometimes unstable. It also calls a method, which is sometimes correct. Sometimes the remote server returns an error: notfound. The main problem is that the WCF Service limits data packets by a maximum of 65535. But what I cannot figure out is that when I send more than 200 records, it is normal, but this error is reported only when I send a record. It is a headache to say that we cannot get through data restrictions.

Let's take a look at how to configure the WCF server.

<System. servicemodel>
<Bindings>
<Basichttpbinding>
<Binding name = "basichttpbinding_idataservice" maxbufferpoolsize = "2147483647" maxcompute edmessagesize = "2147483647" maxbuffersize = "2147483647">
<Readerquotas maxarraylength = "2147483647" maxbytesperread = "2147483647" maxdepth = "2147483647" maxnametablecharcount = "2147483647" maxstringcontentlength = "2147483647"/>
</Binding>
</Basichttpbinding>
</Bindings>
<Behaviors>
<Servicebehaviors>
<Behavior name = "mynetdisk. Web. fileservicebehavior">
<Servicemetadata httpgetenabled = "true"/>
<Servicedebug includeexceptiondetailinfaults = "true"/>
<Datacontractserializer maxitemsinobjectgraph = "2147483647"/>







bindingconfiguration =" basichttpbinding_idataservice "/>



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.