Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

System.ServiceModel.QuotaExceededException

Tags:

c#

.net

Hi I am facing the below error when application was hosted in the server. The application is working fine on the local box. "The maximum message size quota for incoming messages (100000000) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element."

All the searches done resulting in solving the issue with WCF But here I am not using any WCF service.

Please help me with this.

like image 412
RaaMee Avatar asked Dec 30 '14 03:12

RaaMee


1 Answers

just add this to your binding in the app.config

<binding name="binding name.." maxBufferSize="2147483647" maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647"/>
like image 123
Tomer Klein Avatar answered Sep 21 '22 02:09

Tomer Klein