This project is read-only.

Cannot post large data

Topics: Web Api
Apr 29, 2011 at 6:17 PM

Hi all,

I'm trying to post very large data to the service but I cannot set the configuration for the maximum message size for the service.  I have a regular WCF and i was able to set it in the webconfig.  However, I new to this REST WCF service and I cannot get it to read the configuration from the webconfig.  I read that it does not get its configuration from the webconfig.  If not, then where/how can i get the maximum message size?

This is the error on the service: The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.

I already read the thread regarding the service returning large data, but my situation is for it to receive large data.


Apr 29, 2011 at 6:33 PM

Hi kagster,

Maybe this thread can help you: