Question & Answer
Question
Resolving the The URL-encoded form data is not valid Error
Answer
When posting large amounts of data to the server, you may see "The URL-encoded form data is not valid" error.
This error is a side effect of a security fix released by Microsoft (to read more about this issue, see this link: http://weblogs.asp.net/scottgu/archive/2011/12/28/asp-net-security-update-shipping-thursday-dec-29th.aspx)
To resolve this issue, perform the following steps:
1. Go to the folder where the application (Secret Server or Password Reset Server) is installed.
2. Open the web-appsettings.config file in Notepad.
3. Add this key:
<add key="aspnet:MaxHttpCollectionKeys" value="5000" />
4. Reset IIS or recycle the application pool.
5. If the problem persists, increase the value.
Was this topic helpful?
Document Information
Modified date:
22 June 2018
UID
swg22016966