The maximum message size quota for incoming messages (65536) has been

Hey all,

I was wondering if anybody could help. I am using the Entity Framework to interact with my DB and when I started passing more data around, I started recieving '400 Bad Request' with this error attached: '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 trimmed down what was being sent (because it shouldn't be sending over 64k in the first place) but that didn't solve the problem.

I then changed all occurances of 65536 in my solution to 655360 but it still threw up the exact same error (it was still using 65536). One of the binding properties MaxRecievedMessageSize also automatically resets to 65536 when I update the service reference.

It seems like something isn't being explicitely defined somewhere and so the default value being used is 65536. But I have no idea where to set it and when I do seem to set it in the right place, it still errors.

Can anybody help me?
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


In this Discussion