This is a migrated thread and some comments may be shown as answers.

Problem with patched .NET Framework

0 Answers 97 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Raul
Top achievements
Rank 1
Raul asked on 18 Jan 2012, 04:10 PM
On December 29 2011 a vulnerability was found in the .NET Framework (http://support.microsoft.com/kb/2638420) basically the vulnerability is related with the number of parameters that an ASP.NET application can receive, the problem is that if you have a RadGrid with more than 10 rows and 15 RadTextBox per row every request will exceed the maximum amount of parameters.

The error that I got was:
Message: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500

We can fix this issue using the information of the next link: http://support.microsoft.com/kb/2661403
To fix this issue we just need to set the maximum amount of parameters the page is allowed to get to something that we calculate covers our needs, in my case 3000:
<configuration>
  <appSettings>
    <add key="aspnet:MaxHttpCollectionKeys" value="3000" />
  </appSettings>
</configuration>

Regards

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Raul
Top achievements
Rank 1
Share this question
or