DX Infrastructure Management

Tech Tip: Maximum Request Length Exceeded 

03-02-2015 04:05 PM

Issue:

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

 

Resolution:

 

    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. 

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.