Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP.NET
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 3-Oct-12 20:10pm
Comments
Kenneth Haugland at 4-Oct-12 2:14am
   
is the Firewall open?
Bhavin Shah - Ember at 4-Oct-12 2:22am
   
how many records are coming from SP? if more no. of records are coming, you should use pagination.
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi,
 
Please check what time out is occuring and then set timeout property accordingly.
 
Set execution timeout in httpRuntime under system.web tag

 
If timeout is happening from DB then set command timeout in SQLCommand obj.
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 480
1 mhegazy94 460
2 Kornfeld Eliyahu Peter 315
3 Ravi Bhavnani 240
4 Shemeemsha RA 185
0 Sergey Alexandrovich Kryukov 6,890
1 OriginalGriff 6,761
2 CPallini 5,350
3 George Jonsson 3,609
4 Gihan Liyanage 2,797


Advertise | Privacy | Mobile
Web04 | 2.8.140922.1 | Last Updated 4 Oct 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100