Current Lesson
Course Content

"500 Internal Server. The maximum message size quota for incoming messages (######) has been exceeded."

This can be modified by your Database Administrator (DBA), or someone with access to make changes directly on the server. If that describes you, here are the instructions to modify this value:

  1. Locate your web.config file (located in the root folder)
  2. Search for the string HifisReportService
  3. Find the endpoint element for HifisReportService. It should look something like this:
  4. <endpoint address="http://HIFIS_DOMAIN_ADDRESS/HIFIS.DOMAIN.BusinessServices.HifisReportService.svc" binding="wsHttpBinding" bindingConfiguration="WSHttpBinding_Standard" contract="HifisReportServiceReference.IHifisReportService" name="WSHttpBinding_IHifisReportService">
  5. Identify the bindingConfiguration being used (for example: bindingConfiguration="WSHttpBinding_Standard")
  6. Search for the binding element identified in step 4  (for example: WSHttpBinding_Standard). It should look something like this:
  7. <binding name="WSHttpBinding_Standard" closeTimeout="00:01:00" openTimeout="00:01:00" receiveTimeout="00:05:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="10485760" maxReceivedMessageSize="10485760" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
  8. Increase the maxReceivedMessageSize attribute to the desired values
  9. Repeat steps 1-6 for the file located at Domain\web.config