如果查询字符串太长,则在服务器中部署应用程序时查询失败 [英] Query failure if app is deployed in server if the query string is too long

查看:72
本文介绍了如果查询字符串太长,则在服务器中部署应用程序时查询失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

图层,构建的查询更长。在这个应用程序中,共有20层。在我的本地调试中,查询字符串的长度没有问题。在IIS服务器中部署此应用程序之后,如果我签入19层,它就可以工作,但如果所有20个图层都已签入(查询字符串长度= 2136),则总是失败(在IE11,Chrome和Firefox中)。处理这个问题的可行方法是什么?谢谢。



我尝试了什么:



查询失败,如果App如果查询字符串太长,则部署在Server中

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

推荐答案

您还没有说明您部署了哪种类型的应用程序。您要找的是请求过滤设置。通常您可以通过WebConfig文件或IIS管理来执行此操作

请求限制< requestLimits> | Microsoft Docs [ ^ ]
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[^]


这篇关于如果查询字符串太长,则在服务器中部署应用程序时查询失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆