Tech Tip: Maximum Request Length Exceeded

Document created by sigju01 Employee on Mar 2, 2015Last modified by sigju01 Employee on Mar 3, 2015
Version 4Show 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




We will need to replace 4 x IIS / ASP.NET configuration files.

The first 2 are on the NFA Console Server in:

  • C:\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG

The second 2 files are on the NFA Console Server in:

  • C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG

The files are Web.Config and Machine.Config.

  1. Rename the current Web.Config and Machine.Config files in both directories for backup.
  2. Copy the new files from the FTP below into the correct directories.
  3. Once the files are in place do an IISRESET from a CMD prompt.


The Framework files can be found:


The Framework64 files can be found: