Hi,
We have a gird with a export function. It works very well. However, when there are 5000 items in the grid. Once fire the export function, it will give a exception:"
I was wondering if export function has a maximum limit or if you have any solution for this.
I appreciate your help
Thanks,
Feng
We have a gird with a export function. It works very well. However, when there are 5000 items in the grid. Once fire the export function, it will give a exception:"
System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host"
I was wondering if export function has a maximum limit or if you have any solution for this.
I appreciate your help
Thanks,
Feng
5 Answers, 1 is accepted
0
Hello Joe,
In my opinion the problem is either caused by firewall or by restriction in web.config:
http://www.velocityreviews.com/forums/t259898-systemnetwebexception.html
Hope this helps.
Kind regards,
Daniel
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
In my opinion the problem is either caused by firewall or by restriction in web.config:
http://www.velocityreviews.com/forums/t259898-systemnetwebexception.html
Hope this helps.
Kind regards,
Daniel
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Joe
Top achievements
Rank 1
answered on 23 Sep 2009, 04:06 PM
Thank you for your reply.
Actually, it works when there are about 1500 items in the grid, but it crash when there are 5000. So I don't think it's the firewall problem.
In the web.config, I didn't find the maxRequestLength. WCF configuration set the time to 1 minute and maximum size was 5MB. The file I estimated that contain 5000 items was less than 1 MB, which is still much less than 4MB.
Do you have any other idea?
Thank you,
Feng
Actually, it works when there are about 1500 items in the grid, but it crash when there are 5000. So I don't think it's the firewall problem.
In the web.config, I didn't find the maxRequestLength. WCF configuration set the time to 1 minute and maximum size was 5MB. The file I estimated that contain 5000 items was less than 1 MB, which is still much less than 4MB.
Do you have any other idea?
Thank you,
Feng
0
Joe
Top achievements
Rank 1
answered on 23 Sep 2009, 07:41 PM
Hi,
I also increase the maxRequestLength to 800MB, but the error persist...
Thanks,
Feng
I also increase the maxRequestLength to 800MB, but the error persist...
Thanks,
Feng
0
Randy
Top achievements
Rank 1
answered on 23 Sep 2009, 08:18 PM
Timeout issue?
0
Joe
Top achievements
Rank 1
answered on 23 Sep 2009, 08:23 PM
Not sure. the exception was thrown very quickly. In 2 seconds after I click the export button.