WCF and MaxReceivedMessageSize

161 views
Skip to first unread message

graphicsxp

unread,
Apr 29, 2009, 11:14:50 AM4/29/09
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Hi,

I was getting the following message when trying to return a List of
objects from my WCF 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. The maximum message size
quota for incoming messages (65536) has been exceeded.

So I changed the values of maxBufferSize, maxBufferPoolSize and
maxReceivedMessageSize to 50000000.

Now it's working. However I would like to know what are the drawbacks
of doing this ? Is it equivalent to 5 Mbytes and if so, does it affect
performances ?

Thanks

Vivek SHANTHARAM

unread,
May 2, 2009, 8:45:19 AM5/2/09
to DotNetDe...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages