Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27212

VS 2012 Need help with WCF error: maximum message size quota... exceeded

$
0
0
Okay, I'm writing my first WCF server application, and it's working except for this. When the service tries to return more than a hundred or so rows, I get the following error.

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.

What is this telling me, and how do I fix it?

At the moment, I'm still running this service temporarily locally auto-hosted within VS2012 (WcfSvcHost). I'll worry about hosting it with IIS later... once I get it working.

I get this error using both my custom client AND the Wcf Test Client... it works when returning 89 rows, but fails with that error message when returning 102 rows.

Any thoughts on how to correct this error?

Viewing all articles
Browse latest Browse all 27212

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>