Tech-Today
The length of the query string for this request exceeds the configured maxQueryStringLength value. firefox
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
-
Validation-summary-errors Div Showing Even If There Is No Error Binded To A Property
I'm working on a change password form when I encountered this strange behavior from mvc3. I created a simple form and change password model with 3 fields (old, new, confirm password). Then I extended ValidationAttribute to validate the password's...
-
How To Deploy Mvc3 Powered Website To Iis
After developing a website powered by MVC3 the next thing is deploying it on server. Our assumption is that the server has dotnet3.5/4.0 installed. Server Setup: 1.) Windows 2003 SP2 2.) Download and install dotnet 3.5/4.0 3.) Download and install MVC3...
-
How To Install Selenium 1.0.10 On Firefox 4.0.1
Unfortunately it seems selenium doesn't support the latest version of firefox yet. To get around this security issue do the following: 1.) In firefox go to about:config. 2.) Click yes in the warning message 3.) The next screen is like a registry window...
-
Moving Data From A Table In One Database Into Another With The Same Table Definition
Objective: Given the same schema of database for example an active and archive, how should we move rows of data from one table in one database into the same table name in another database. Below is a java code snippet/pseudocode that I've created:...
-
How To Add A Customize Product Admin Fields In Zencart By Editing/adding Extra Codes
Problem: How to add a product custom field named length. This to consider (modifications in): 1.) database 2.) scripts ----------------------------------- 1.) Database - a custom column should be add to the products table. Execute this line (for column...
Tech-Today