laptop and a wrench

Bug

In ArcGIS Enterprise 10.7, creating more than 39 pages within a site through ArcGIS Enterprise Portal causes "An Unexpected Error has Occurred" page. There is documentation stating there is no limit to the number of pages that can be made, therefore users should be able to create more than 39 pages without any error. Below is documentation on creating pages for a site: https://enterprise.arcgis.com/en/portal/latest/use/creating-pages-on-your-site.htm

Last Published: August 22, 2019 Portal for ArcGIS
Bug ID Number BUG-000124630
SubmittedAugust 19, 2019
Last ModifiedFebruary 7, 2025
Applies toPortal for ArcGIS
Version found10.7.1
StatusKnown Limit

Additional Information

Increase the IIS max query length. Out of the box Windows sets this very low. The reason for the error is the length of a query to the API. We are changing the approach of this page to prevent a long query in 10.8 but there are other queries that could run into this. In general it is a good idea to increase the default limit in IIS.

Workaround

Go into the 'web.config' file within the C:\inetpub\wwwroot folder and update the code to read:

<?xml version="1.0" encoding="UTF-8"?>

<configuration>

  <system.webServer>

    <security>

      <requestFiltering>

        <requestLimits maxUrl="10999" maxQueryString="9999" />

      </requestFiltering>

    </security>

  </system.webServer>

<system.web>

<httpRuntime maxUrlLength="10999" maxQueryStringLength="2097151" />

<customErrors mode="Off" />

  </system.web>  

</configuration>

Steps to Reproduce

Bug ID: BUG-000124630

Software:

  • Portal for ArcGIS

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options