Click here to Skip to main content
15,881,424 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
layers, the built query is longer. In this App, there are total 20 layers. In my local debugging, there is no problem how long the query string it is. After this App is deployed in the IIS server, it works if I check-on 19 layers, but ALWAYS fail (in IE11, Chrome and also Firefox) if all of the 20 layers are checked-on (query string length = 2136). What's the possible approach to handle this problem? Thanks.

What I have tried:

Query Failure if App is deployed in Server if the query string is too long
Posted
Updated 27-Feb-19 3:59am
Comments
s yu 27-Feb-19 10:06am    
I have reduced the query string length below 2048 (by removing white space and use '=' to substitute 'like'. Then it works fine. Thanks.

1 solution

You haven't said what type of application you have deployed. What you are looking for is the Request Filtering settings. Usually you would do this either through the WebConfig file or IIS Management
Request Limits <requestLimits> | Microsoft Docs[^]
 
Share this answer
 
Comments
Maciej Los 28-Feb-19 2:01am    
5ed!

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