WCF Maximum message size quota exceeded problem - Guru needed
Posted
by Rire1979
on Stack Overflow
See other posts from Stack Overflow
or by Rire1979
Published on 2010-04-06T16:39:35Z
Indexed on
2010/04/06
16:43 UTC
Read the original article
Hit count: 1928
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.
Let me begin by saying that I can fix the problem by increasing the size of MaxReceivedMessageSize and the appropriate buffer. However it looks to me that this solution is not ideal because it's impossible to establish an upper bound to the size of the message as data changes daily. Setting it to the maximum size of two gigs feels like the wrong approach ...
It may matter... or not: I'm using the MSN ad center API v6.
Can an experienced WCF professional confirm this is indeed the approach we'll have to make do with? Is it as bad as it looks?
Thank you.
© Stack Overflow or respective owner