Maximum message size quota for incoming messages (65536) has been exceeded.

28 01 2008

There are two errors that may be encountered at run time which relate to the amount of data being received by the client application.

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

2. Maximum number of items that can be serialized or deserialized in an object graph is ‘65536′.

In general, the first error will surface when the total number of bytes that the service is attempting to return exceeds the configuration values (the

default is 65536). To raise the total number of bytes that can be returned, the following changes are required:

In the Binding configuration(s):

<binding name=”YourBindingName”

maxBufferSize=”2147483647″

maxReceivedMessageSize=”2147483647″

…other values…

Note that the values being configured above are the maximums possible. It is advisable to configure only the highest values required. All three values

should be configured to the same values.

The second error (from above) may be encountered after making the first set of changes. The second error is caused by the total number of (.net) objects

being returned exceeding the configured value (default = 65536). This value is set on individual endpoints and is not usually explicitly set in the

configuration file. To increase this value, first create a new (or modify an existing) endpoint behavior.

Then assign this behavior to the endpoint receiving the error.

Note again that the value configured above is the maximum.

Powered by ScribeFire.





Why is there always an odd man out?

11 01 2008

My dad is a great speaker. When i was a kid I had a huge stage fright. I could barely speak in public. In school in my seventh grade, i would hardly be able to utter a few words. I remember a tip my dad had given among many others that, when on stage try to indentify the one or two people who can cause trouble by asking questions, early on in the speech and to look into the eyes of people while talking.

I took his advice then and I am glad I lost the fear of the stage. But in life i find there is always a odd man/wo man in every project i have worked on. This person’s sole job seems to be to cause trouble, to disagree or to argue for the sake of argument.

What a waste of time and energy working with such folks?. In some cases these are customers, some cases friends and in some colleagues.

If i put a dollar value to the amount of time spent in unnecassary arguements, i could be building a mansion for myself by now.

Here are some symptoms of such strange characters

1) they tend to talk abstract. They talk to the wall or the door instead of talking to you on your face

2) they agree to what you say in front of you, but once you leave they clap thier hands and do what they want.

3) they have power positions and take full advantage of that.

4) In order to cover their weakness they put the blame you.

5) They are typically in the same rank as you are at work and do not like the fact that you are in the same rank as them

6) They dont tell what they dont like about you directly, but complain to their boss or your boss to get rid of you

To Err is human -but with the odd man to err is a complete waste of time.

Find this person early on, there is one in every project. Have a plan. Stay clear of the OMO ( Odd Man OUt) if at all you can

So long….