My website provide large reports for users to view and download. Some reports may have about 30 columns and thousands of rows.
I have set the MaxHttpCollectionKeys setting in the user.config with a large value (Currently 20000), but I find there may still have exception (ThrowIfMaxHttpCollectionKeysExceeded()) if the reports have a large amount of data.
Can I set the value to infinity or there are suggestions for me to fix the problem? As the website is inside our intranet that cannot access by the public, I am not very afraid of the security problem.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Bit strange thing i found in your question is, you are providing large amount of data for user to view and download, the problem you are mentioning here is related when user upload/send data to web server.
If this post answered your question or solved your problem, please Mark it as Answer.
Koe
0 Points
1 Post
MaxHttpCollectionKeys Problem
Sep 10, 2012 04:53 AM|LINK
My website provide large reports for users to view and download. Some reports may have about 30 columns and thousands of rows.
I have set the MaxHttpCollectionKeys setting in the user.config with a large value (Currently 20000), but I find there may still have exception (ThrowIfMaxHttpCollectionKeysExceeded()) if the reports have a large amount of data.
Can I set the value to infinity or there are suggestions for me to fix the problem? As the website is inside our intranet that cannot access by the public, I am not very afraid of the security problem.
lprete
Member
385 Points
57 Posts
Microsoft
Re: MaxHttpCollectionKeys Problem
Sep 13, 2012 05:32 PM|LINK
I believe this blog post will help you.
http://blogs.msdn.com/b/paulking/archive/2012/01/16/using-an-http-module-to-assist-in-adjusting-the-value-of-aspnet-maxhttpcollectionkeys-imposed-by-ms11-100.aspx
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Ramesh Chand...
Star
12922 Points
2672 Posts
Re: MaxHttpCollectionKeys Problem
Sep 13, 2012 06:25 PM|LINK
Bit strange thing i found in your question is, you are providing large amount of data for user to view and download, the problem you are mentioning here is related when user upload/send data to web server.
Praneet Rane
Member
147 Points
45 Posts
Re: MaxHttpCollectionKeys Problem
Dec 14, 2012 05:48 AM|LINK
I am having same issue.My page has a grid with large number of records (7000+).
I found nice information on a blog :http://timjames.me/asp-net-maxhttpcollectionkeys-in-app-config