Download URL-Encoded Form Data is Not Valid Error

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Trusted Computing wikipedia , lookup

Next-Generation Secure Computing Base wikipedia , lookup

Transcript
“The URL-encoded form data is not valid” Error Occurs for
Screens with More than 1,000 Input Controls, such as Course
Section Mark Entry
Article # 1750
Problem
A recent Microsoft Security Update restricts the amount of post-back items to 1,000 for
a particular page. If a page reaches or exceeds this amount, users will receive the
follow error:
An unexpected error has occurred!
The URL-encoded form data is not valid.
Solution
To correct this problem, please perform the following steps:
1. Find the DASL.config file in your deployment directory.
2. In that file, locate the <appSettings> section.
3. Add the following line to the end of that section (before the closing tag):
<add key="aspnet:MaxHttpCollectionKeys" value="6000" />
4. If you would like to see an example of where to place this new key, please see the
Distribute\Web\web.config.sample file in the StudentInformation release files.
5. Run the dasl-web.cmd deployment command with the “config” parameter.
Note: At this time, Software Answers is recommending 6, 000 as the setting. This 6,000 setting
should not expose the vulnerability Microsoft has corrected and should allow screens with large
amounts of data to save without error. Although we are recommending 6,000, it may be
necessary for some customers to increase this number to resolve this issue. We recommend
not increasing this value to more than 10,000.
© 2011 Software Answers, Inc. All Rights Reserved. All other company and product names included in this material may be
Trademarks, Registered Trademarks or Service Marks of the companies with which they are associated. Software Answers,
Inc. reserves the right at any time and without notice to change these materials or any of the functions, features or
specifications of any of the software described herein.
Additional Comments
Links that provide more information on the Microsoft Update:
Microsoft Security Bulletin MS11-100 - Critical
http://technet.microsoft.com/en-us/security/bulletin/ms11100?qstr=CR_CC%3d20111229OOBCA&CR_ID
MS11-100: Vulnerability in the .NET Framework Could Allow Elevation of Privilege
http://support.microsoft.com/kb/2638420
An ASP.NET request that has lots of form keys, files, or JSON payload members fails with an
exception
http://support.microsoft.com/kb/2661403
© 2011 Software Answers, Inc. All Rights Reserved. All other company and product names included in this material may be
Trademarks, Registered Trademarks or Service Marks of the companies with which they are associated. Software Answers,
Inc. reserves the right at any time and without notice to change these materials or any of the functions, features or
specifications of any of the software described herein.