*** REST, large POST, and "Server Error" (for gurus only)

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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


.



Relevant Pages

  • *** REST, large POST, and "Server Error" (for gurus only)
    ... I am using REST to POST a large set of XML content. ... "The server encountered an error processing the request. ... nothing in the diagnotic log. ...
    (microsoft.public.dotnet.framework.aspnet.webservices)
  • Re: *** REST, large POST, and "Server Error" (for gurus only)
    ... "The server encountered an error processing the request. ... See server logs for more details" ... 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? ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Response.Write for a XML string
    ... Try to clear the response output stream prior to ... Take the XML that you write, place it in a text file and save with XML ... "msuk" wrote in message ... Error processing ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: is this standard way of including xml into xml?
    ... Line Number 3, Column 1:<!ENTITY foo1 SYSTEM ... The XML page cannot be displayed ... Cannot have a DTD declaration outside of a DTD. ... Error processing ...
    (comp.text.xml)
  • XML Outputs
    ... I am unable to create an XML file that IE can open. ... Cannot view XML input using XSL style sheet. ... Error processing ...
    (microsoft.public.sqlserver.xml)