If the Table query returns too much content, the query will encounter an error "theremote server returned an error: notfound"
Background error: Maximum Number ofitems that can be serialized or deserialized in an object graph is '20140901 '.
Solution: Adjust maxitemsinobjectgraph to specify the service and behavior in <system. servicemodel>.
L service name:
Name = "yourriaprojectname. Web. yourdomainservicename"
L behavior is named as follows:
Name = "yourriaprojectname-web-yourdomainservicename"
<! -- <System. servicemodel> --> <Services> <Service name = "rialib. Web. domainsvc"Behaviorconfiguration = "rialib-web-domainsvc"/> </Services> <Behaviors> <Servicebehaviors> <Behavior name = "rialib-web-domainsvc"> <Servicemetadata httpgetenabled = "true"/> <Servicedebug includeexceptiondetailinfaults = "true"/> <Datacontractserializer maxitemsinobjectgraph = "655360"/> </Behavior> </Servicebehaviors> </Behaviors> <! -- <Servicehostingenvironment aspnetcompatibilityenabled = "true" Multiplesitebindingsenabled = "true"/> </System. servicemodel> --> |