Click here to Skip to main content
15,892,298 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
I have a page where i am binding a grid with a big table and after that when i am clicking on Button which exports the grid to an Excel Sheet, I am getting "The connection was reset" in firefox Browser.When i done the same with Chrome Browser i get "The connection to localhost was interrupted."
It is working fine when i am Binding less data in to the grid.
I debug the code and found that after the grid load in to the page and when we are clicking on the Button to export it in to Excel, the page is not even going to the Click event of the button.

Please help me to solving this issue. I beleve it is not an browser config issue as i already checked it .
Posted
Comments
Dharmenrda Kumar Singh 28-Nov-11 7:28am    
Thanks a lot for such an immediate response and it really solve my problem.

1 solution

XML
<!-- Required to upload big files -->
        <httpRuntime executionTimeout="600" maxRequestLength="51200"  />


This specifies a timeout of 10 minutes and max filesize of 50Mb.




Place this in web config <system.web section=""></system.web>
 
Share this answer
 
v3
Comments
GSN.CP 24-May-14 0:29am    
Thanks Anuj Banka for the solution!
Worked for me too!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900