Tech Tip: Maximum Request Length Exceeded

Document created by sigju01 Employee on Mar 2, 2015Last modified by sigju01 Employee on Mar 19, 2019
Version 7Show Document
  • View in full screen mode


When exporting a .CSV file in CA Network Flow Analysis 9.1+ you may run into this issue if the amount of data you are trying to export goes over a certain limit.


The error will read:

Picture (Device Independent Bitmap) 2 (1).jpg

500 – Internal server error - Maximum request length exceeded

If you do not see this error in the browser you may also get a “page not found” or just a plain white page.  To see if you are running into this problem please try to find this error in the

“LogLogxxxx-xx-xx.log” under <installdir\REPORTER\Logs> on the NFA Console Server.

The error will read:

[HttpException (0x80004005): Maximum request length exceeded.]

  System.Web.HttpRequest.GetEntireRawContent() +8863324

  System.Web.HttpRequest.FillInFormCollection() +105

  System.Web.HttpRequest.get_Form() +68

  NetQoS.Portal.Util.RequestValidator.Application_PreRequestHandlerExecute(Object source, EventArgs e) +349

  System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68

  System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75




    1. Open IIS and select "Default Web Site".
    2. Scroll down and click on Configuration Editor.
    3. In the drop down find system.web/httpRuntime,
    4. Edit the "maxRequestLength" to the maximum value "2097151" and then press enter.
    5. Press "Apply" in the "Actions" left side pane.
    6. In the drop down find system.webServer/security/requestFiltering
    7. Expand "requestLimits" and change the "maxAllowedContentLength" to the maximum value "4294967295"  and then press enter.
    8. Press "Apply" in the "Actions" left side pane.
    9. Open and Command Prompt as an Administrator, and type in IISRESET and press enter. 
1 person found this helpful