Click here to Skip to main content
16,022,417 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am creating the asp.net web site project with default page template (Not empty page).

and hosted on ISS and apply the windows authentication .

But there is error :

Quote:
The length of the query string for this request exceeds the configured maxQueryStringLength value. iis 10


please help.

What I have tried:

i have add the
HTML
<system.web>

and
HTML
<httpRuntime targetFramework="4.5.2" maxQueryStringLength="32768" maxUrlLength="32768" / >

in
HTML
<system.webserver>
   <security>
      <requestfiltering>
        <requestLimits maxUrl="32768" maxQueryString="32768" />
Posted
Updated 6-Jul-18 18:09pm
v2

1 solution

Have you tried adding the MaxRequestLength for example:

HTML
<system.web> 
  <httpRuntime maxRequestLength="65535" maxUrlLength="65535" maxQueryStringLength="65535" />
</system.web>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900