no

How to Fix Maxquerystringlength Exception

Problem: Unrecognized configuration section httpRuntime. The length of the query string for this request exceeds the configured maxQuerySt...

Problem: Unrecognized configuration section httpRuntime. The length of the query string for this request exceeds the configured maxQueryStringLength value. firefox In case you experience the same error, it's because of the new feature available for mvc3 dotnet. Now asp is enforcing a maximum query length of (2K+ by default) which can be overriden in web.config as follow (Add httpRuntime just before compilation tag):

    
    
    

Also you might need to change request limit length:
<system.webServer>
    <security>
      <requestFiltering>
        <requestLimits maxQueryString="32767"/>
      </requestFiltering>
    </security>
</system.webServer>
This new tag is explained here: http://msdn.microsoft.com/en-us/library/e1f13641%28VS.71%29.aspx

Related

c# 5147646501667501606

Post a Comment Default Comments

2 comments

Hire magento designer said...

Nice to be visiting your blog again, it has been months for me. Well this article that i've been waited for so long.

Anonymous said...

This did not resolve the issue but returned a 500 error instead. Thoughts?

item