title: Issue with Query String Parameter Length. Http Error 400
body: <p>Can anyone please tell me issue with my URL:-
  <a href="http://www.advantarealty.net/Search//Condo,Single-Family-Home,Townhome_PropertyType/True_ForMap/8_Zoom/-81.3043212890625T29.099376992628493,-80.88134765625T28.9120147012556,-80.826416015625T28.41555985166584,-81.1669921875T28.033197847676377,-81.6888427734375T28.033197847676377,-82.1392822265625T28.222130007158537,-82.2601318359375T28.584521719370418,-82.1612548828125T28.92163128242129,-81.9305419921875T29.257648503615542,-81.6339111328125T29.248063243796576,-81.6064453125T28.849485201023,-81.3043212890625T29.099376992628493_Polygon/" rel="nofollow noreferrer">http://www.advantarealty.net/Search//Condo,Single-Family-Home,Townhome_PropertyType/True_ForMap/8_Zoom/-81.3043212890625T29.099376992628493,-80.88134765625T28.9120147012556,-80.826416015625T28.41555985166584,-81.1669921875T28.033197847676377,-81.6888427734375T28.033197847676377,-82.1392822265625T28.222130007158537,-82.2601318359375T28.584521719370418,-82.1612548828125T28.92163128242129,-81.9305419921875T29.257648503615542,-81.6339111328125T29.248063243796576,-81.6064453125T28.849485201023,-81.3043212890625T29.099376992628493_Polygon/</a></p>
  
  <p>I'm getting below error always.</p>
  
  <p><strong>Bad Request - Invalid URL.
  HTTP Error 400. The request URL is invalid.</strong></p>
  
  <p>In above URL, I guess it's exceeding maximum query string parameter length so i tried increasing it like below.</p>
  
  <pre><code>&lt;system.web&gt;
      &lt;!--&lt;httpRuntime maxQueryStringLength="32768" maxUrlLength="65536"/&gt;--&gt;
      &lt;httpRuntime targetFramework="4.5" maxUrlLength="2097151" relaxedUrlToFileSystemMapping="true" maxQueryStringLength="2097151" /&gt;
  &lt;/system.web&gt;
  &lt;system.webServer&gt;
      &lt;security&gt;
        &lt;requestFiltering&gt;
          &lt;requestLimits maxUrl="40960" maxQueryString="2097151" /&gt;
        &lt;/requestFiltering&gt;
      &lt;/security&gt;
    &lt;/system.webServer&gt;
  </code></pre>
  
  <p>I have tried 
  <a href="https://stackoverflow.com/questions/8159321/request-exceeds-the-configured-maxquerystringlength-when-using-authorize">request exceeds the configured maxQueryStringLength when using [Authorize]</a></p>
  
  <p><a href="https://stackoverflow.com/questions/11636386/how-to-configure-the-web-config-to-allow-requests-of-any-length">How to configure the web.config to allow requests of any length</a></p>