Question: I'm trying to call a WCF service (hosted in a Windows Service, not IIS) and am getting the following error:

> 
> The maximum message size quota for
>  incoming messages has been exceeded
>  for the remote channel. See the
>  server logs for more details.
> 
> 
> 

I have tried increasing the MaxReceivedMessageSize and the ReaderQuotas to their maximum values without any luck.

I have also turned on logging and checked the messsage size that's getting "sent." It's definitely nowhere near the maximum. We're talking about sending an object that serialized into 372KB XML.

Two questions:

1. Does anyone know what "server logs" the message is referring to? I've checked the EventViewer but nothing shows up there...
2. Does anyone know what other configuration setting(s) might apply here?

Answer: 
Your question reminded me of a blog post by Shawn Wildermuth where he was having trouble with Large Message Sizes in a Silverlight application. Perhaps this will help you out:

<http://wildermuth.com/2009/09/10/Using_Large_Message_Requests_in_Silverlight_with_WCF>

Shawn says:

> 
> The trick is to change the customBinding in the web.config to use larger defaults. I picked 2MB as it its a reasonable size. Of course setting them to 2GB like shown above will work but it does leave you more vulnerable to attacks. Pick a size that isn't larger than your largest request but isn't overly large. Its a guessing game. To set these, you need to add them to your web.config is to put them on the httpTransport node:
> 
> 
>
Two things:

* can you show us the server and client side config (just the relevant sections - endpoints, binding configuration)
* did you change the values on both sides (client and server)??

There's a whole plethora of size settings you can influence....