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"/>
      

Run codeHide result


+1


source


Are you using service model decorations on your classes ([ServiceContract] or [DataContract])? I suggest checking in all project references if you have a System.ServiceModel reference and removing it to see if any code is broken.



0


source







All Articles