i get this error when i pass a value in query string .i tried below code but the same error exists.How to fix this error HTTP Error 404.15 - Not Found The Request filtering module is configured to deny a request where the query string is too long
<httpModules> <add type="QueryStringModule" name="QueryStringModule"/> </httpModules>
<configuration> <system.webServer> <security> <requestFiltering> <requestLimits maxQueryString="3000" maxUrl="1000" /> /* Change the Url limit here */ </requestFiltering> </security> </system.webServer> </configuration>
<httpRuntime maxQueryStringLength="32768" maxUrlLength="65536"/>
<httpRuntime maxQueryStringLength="260" maxRequestLength="2048"/>
'yourstring'.length;
<configuration> <system.webServer> <security> <requestFiltering> <requestLimits maxQueryString="3500"/> </requestFiltering> </security> </system.webServer> <system.web> <httpRuntime maxQueryStringLength="3500" maxUrlLength="3500"/> </system.web> </configuration>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)