从2008年迁移到2010年导致问题 - 此请求的查询字符串长度超过配置的maxQueryStringLength值 [英] Move from 2008 to 2010 caused problems - The length of the query string for this request exceeds the configured maxQueryStringLength value
问题描述
我是VS世界的新手,所以我希望这是一个简单回答的愚蠢问题。
I am very new to the VS world, so I'm hoping this is a silly question with a simple answer.
我有一个非常简单的网络项目由数据库驱动的下拉列表组成,该列表为填充DataGrid的查询提供参数。 在2008年,一切正常 - 列排序,更改初始参数更新数据等。
但是,在将我的项目升级到2010和.NET 4之后,除了"此请求的查询字符串长度超过配置的maxQueryStringLength值"之外,我什么也得不到。 我发现了一些帖子讨论了这个以及要审核的参数,
和我更改了配置以使maxQueryStringLength荒谬地长,但没有影响。 调试器不会破坏错误,所以我甚至不能告诉字符串包含什么。
I had a very simple web project which consists of a database driven dropdown list which provides a parameter to the query which populates a DataGrid. Under 2008, everything works - column sorting, changing the initial parameter updates the data, etc. However, after upgrading my project to 2010 and .NET 4, I get nothing but "The length of the query string for this request exceeds the configured maxQueryStringLength value.". I found a number of posts discussing this and the parameter(s) to review, and I changed the configuration to make maxQueryStringLength absurdly long, but with no impact. The debugger does not break on the error, so I cannot even tell what the string contains.
Brendan E Boelke
Brendan E Boelke
推荐答案
这是一个需要在适当的论坛中提出的问题,在这里:
It's a question that needs to be asked in the appropriate forum, here:
< a href ="http://forums.asp.net/1213.aspx/1?Visual+Studio+and+Visual+Web+Developer+Express"> http://forums.asp.net/1213.aspx/1 ?Visual + Studio +和+ Visual + Web + Developer + Express
我提出这个建议是因为您的问题是Web项目,而不是.NET Framework设置,此论坛的主题。
I'm making this suggestion because your issue is with a web project, and not with .NET Framework setup, this forum's topic.
FWIW,您应该尝试将VS 2010项目重新定位到VS 2008项目中使用的相同.NET Framework版本,以查看是否能解决问题。 / p>
FWIW, you should try retargeting the VS 2010 project to the same .NET Framework version used in the VS 2008 project, to see if that solves the problem.
这篇关于从2008年迁移到2010年导致问题 - 此请求的查询字符串长度超过配置的maxQueryStringLength值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!