Maximum Request Length Exceeded when trying to export a .CSV file.

Document ID : KB000030090
Last Modified Date : 19/03/2019
Show Technical Document Details


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. **You may see this error when opening other pages, such as editing a large report**

The error will read:

500 – Internal server error - Maximum request length exceeded

Maximum Request Length Exceeded.jpg

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.