System.ServiceModel.QuotaExceededException
Hey. I am facing the below error when the application was hosted on the server. The app works fine in a local box. "The maximum message size quota for incoming messages (100,000,000) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element."
All searches done resulted in a WCF issue, but I am not using any WCF service here.
Please help me with this.
+3
source to share
2 answers
just add this to your binding in app.config
<binding name="binding name.." maxBufferSize="2147483647" maxBufferPoolSize="524288" maxReceivedMessageSize="2147483647"/>
+1
source to share