HTTP错误414.请求URL太长。 asp.net [英] HTTP Error 414. The request URL is too long. asp.net

查看:4024
本文介绍了HTTP错误414.请求URL太长。 asp.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我米得到的错误HTTP错误414请求URL太长。 。从下面的文章中,我明白,这是由于很长的查询字符串。

I m getting the error "HTTP Error 414. The request URL is too long." . From the following article i understand that this is due to very long query string .

http://www.mytecbits.com/microsoft/iis/查询字符串太长


  1. 在web.config中I M有maxQueryStringLength =2097151。这是最大的价值?

  2. 在为了解决这个问题,我应该在web.config中设置maxUrl。如果有啥最大值支持?

我应该做些什么来解决这个问题?

What should i do to fix this error ?

推荐答案

正如这个答案说明 - > <一个href=\"http://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers\">What在不同的浏览器的URL的最大长度?
URL的允许长度取决于浏览器和服务器的组合。因此,它是很难说的网址可以准确多久。答案建议保持低于2000字符在URL中。我不知道为什么你的查询字符串是那么的漫长。可以缩短呢?这是很难给你不知道更多有关解决方案,您的查询字符串的任何建议。

As described in this answer -> What is the maximum length of a URL in different browsers? The allowed length of a url depends on a combination of browser and server. Hence it's hard to say exactly how long the url can be. The answer recommends to stay below 2000 char in the url. I do not know why your querystring is so long. Can you shorten it? It's hard to give you any recommendations without knowing more about the solution and your query string.

这篇关于HTTP错误414.请求URL太长。 asp.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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