ritacse
5/19/2019 - 4:23 AM

Where the query string is too long

Increase the value of the maxQueryString in web.config file. Please refer the below code example to define the value of maxQueryString in web.config file.

 <!-- ~~~ Insert in web.config file ~~~~ -->
<system.web>

   <httpRuntime maxUrlLength="10999" maxQueryStringLength="2097151" />
       
</system.web>


<system.webServer>

    <security>

    <requestFiltering>
      <requestLimits maxUrl="10999" maxQueryString="2097151" />
    </requestFiltering>
    
  </security>
</system.webServer>