Click here to Skip to main content
12,758,605 members (34,873 online)
Rate this:
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.

Posted 3-Oct-12 21:10pm
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.
Rate this: bad
Please Sign up or sign in to vote.

Solution 1


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.
Rate this: bad
Please Sign up or sign in to vote.

Solution 2


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

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 4 Oct 2012
Copyright © CodeProject, 1999-2017
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