Wednesday, November 12, 2014

Wcf-The maximum message size quota for incoming messages (65536) has been exceeded?

Wcf-The maximum message size quota for incoming messages (65536) has been exceeded?

You should set maxReceivedMessageSize="2147483647" to increase message size. Try to change config to this:

 maxBufferSize="2147483647" 
         maxBufferPoolSize="2147483647" 
         maxReceivedMessageSize="2147483647">
     maxDepth="2147483647" 
                  maxStringContentLength="2147483647" 
                  maxArrayLength="2147483647" 
                  maxBytesPerRead="2147483647"
                  maxNameTableCharCount="2147483647" />


ref:
1) http://stackoverflow.com/questions/19564047/wcf-the-maximum-message-size-quota-for-incoming-messages-65536-has-been-exceed
2) http://weblogs.asp.net/hajan/transferring-large-data-when-using-web-services

No comments:

Post a Comment