Sometime SharePoint behave inversely. Yesterday I got below error when updating User Profile Service in SharePoint 2010.
Below is the stack trace:
Below is the stack trace:
at
System.Web.HttpValueCollection.ThrowIfMaxHttpCollectionKeysExceeded()
at System.Web.HttpValueCollection.FillFromEncodedBytes(Byte[] bytes, Encoding encoding)
at System.Web.HttpRequest.FillInFormCollection()
at System.Web.HttpValueCollection.FillFromEncodedBytes(Byte[] bytes, Encoding encoding)
at System.Web.HttpRequest.FillInFormCollection()
Resolution:
Create below entry in Web.Config file of SharePoint Web Application
<appSettings>
<add key="aspnet:MaxHttpCollectionKeys" value="10000" />
</appSettings>