Click here to Skip to main content
15,896,269 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi ,

I have bind gridview with one sp but it give me error "Request timed out". I also set timeout=30 in web.config file. Please give me solution for it.

regards
lalit
Posted
Comments
Kenneth Haugland 4-Oct-12 2:14am    
is the Firewall open?
Bhavin Shah - Ember 4-Oct-12 2:22am    
how many records are coming from SP? if more no. of records are coming, you should use pagination.

Hi,

Please check what time out is occuring and then set timeout property accordingly.

Set execution timeout in httpRuntime under system.web tag
<httpruntime executiontimeout="120">

If timeout is happening from DB then set command timeout in SQLCommand obj.
 
Share this answer
 
v2
 
Share this answer
 

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