Network Management

Events page error Maximum request length exceeded in the SolarWinds Platform Web Console

This article describes an issue where the Events page loads correctly however the following error is displayed when a filter is applied: Unexpected Website Error: Maximum request length exceeded.

First published date

11/1/2018 8:32 PM

Last published date

3/4/2025 11:55 PM

Overview

The below error is encountered when the Events page loads normally and a filter is applied:
 

"Unexpected Website Error: Maximum request length exceeded."


Sample Image:
 

Report example:

Error Instance: d605f06b36624a3597cbdc71a7b13460
User: admin
URL: https://HOSTNAME:443/orion/netperfmon/events.aspx
Referrer: https://HOSTNAME:443/orion/netperfmon/events.aspx
Message: Maximum request length exceeded.
ErrorSite: System.Web.HttpRequest.GetEntireRawContent
ErrorType: System.Web.HttpException

Product section

Network Performance Monitor

Cause

The issue is caused by any of the following:

  • The default settings were changed to a higher value for the page to render.
  • There are issues with the larger Orion environment configuration and need to be modified.

Resolution

Resolution 1:

  1. Press Start, and then go to All Programs > SolarWinds Platform > Database Manager.
  2. Click Add Orion Server.
  3. Expand the SolarWinds Platform database (for example, your default SolarWindsOrion database).
  4. Right-click on the WebuserSettings table and select Query table.
  5. Replace the SQL with the following query:
    -- Scripts are not supported under any SolarWinds support program or service.
    -- Scripts are provided AS IS without warranty of any kind. SolarWinds further
    -- disclaims all warranties including, without limitation, any implied warranties
    -- of merchantability or of fitness for a particular purpose. The risk arising
    -- out of the use or performance of the scripts and documentation stays with you.
    -- In no event shall SolarWinds or anyone else involved in the creation,
    -- production, or delivery of the scripts be liable for any damages whatsoever
    -- (including, without limitation, damages for loss of business profits, business
    -- interruption, loss of business information, or other pecuniary loss) arising
    -- out of the use of or inability to use the scripts or documentation.
    
    UPDATE [dbo].[WebUserSettings]
    SET settingvalue = 400
    WHERE settingname= 'Web-EventMaxMsgPerPage'


Resolution 2:

  1. Press Start, and then go to All Programs > SolarWinds Platform > Database Manager.
  2. Click Add Orion Server.
  3. Expand the SolarWinds database (for example, your default SolarWindsOrion database).
  4. Right-click on the WebuserSettings table and select Query table.
  5. Click Execute query.
  6. Click Enable table editing.
  7. Edit the Web-EventMaxMsgPerPage table and change the value to 400.
  8. Click Execute query.


Resolution 3: 

  1. Go to C:\inetpub\SolarWinds and create a backup of the web.config file.
  2. Open the original web.config file with Notepad.
  3. Add the following lines after the <configuration> line:
    <location path="Orion/NetPerfMon/Events.aspx">
    <system.web>
    <httpRuntime maxRequestLength="1048576" executionTimeout="14400" />
    </system.web>
    </location>

    Sample Image:

  4. Restart the World Wide Web Publishing Service.


Resolution 4:

NOTE: (Workaround if the error still exists in the Events View)

  1. Log in to the SolarWinds Platform Web Console.
  2. Hover over the Alerts & Activity tab, and then click Message Center.
  3. Choose the desired Network Objects (or any of the options) under the filter devices.
  4. If you are looking for the Events only, tick only the checkbox for "Show event messages". You can apply an additional filter by choosing the desired time period and setting the number of displayed messages to your desired value (for example, 2000).
  5. Click Apply.