*** REST, large POST, and "Server Error" (for gurus only)
- From: "Amil Hanish" <amilhanish@xxxxxxxxxxx>
- Date: Thu, 30 Jul 2009 09:08:23 -0600
I am using REST to POST a large set of XML content. I get an exception when I send XML that is like 10M in size.
"The server encountered an error processing the request. See server logs for more details"
If I try to debug the service, my RESTful method is never called. I've increased all the General and ReaderQuotas on the bind, as well as increased the <httpRuntime maxRequestLength="20480"/>. Even if I turn on WCF diagnostics, nothing in the diagnotic log.
Any ideas how either 1) how to figure out what the REAL error is, or 2) how to send very large XML sets via REST POST?
I did have to modify the CLIENT DataContractSerializer behavior to that it could create larger graphs (MaxItemsInObjectGraph); maybe that affects the host as well on the deserialization.
HELP??
Amil
.
- Follow-Ups:
- Re: *** REST, large POST, and "Server Error" (for gurus only)
- From: Mr. Arnold
- Re: *** REST, large POST, and "Server Error" (for gurus only)
- Prev by Date: Re: Exception
- Next by Date: Cannot add to list of known types, another type with same contract
- Previous by thread: Exception
- Next by thread: Re: *** REST, large POST, and "Server Error" (for gurus only)
- Index(es):
Relevant Pages
|