Click here to Skip to main content
15,910,787 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,


In my project i am facing problem of request timeout.

I am fetching about 2000 rows of companies from database and assigning to the user and showing to grid view.It also contain the heavy processing on records at code behind, and then after i am assigning these rows to grid view in proper format.
It is working fine for up to 200 rows of companies,but when i go to assign 300 or more rows then it raise the error of request timeout.

(Sys.WebForms.PageRequestManagerServerErrorException)


can any one please help me.........??
Posted
Updated 15-Jun-12 0:40am
v4

1 solution

First look at the command timeout / connection timeout specified in your SqlCommand / SqlConnection object and increase the timeout if this is a timeout relating to the database call.

Also try increasing the Http request timeout in the web.config!

XML
<httpruntime enable="true" maxrequestlength="10240" executiontimeout="360" />
 
Share this answer
 
Comments
amolpatil2243 15-Jun-12 6:13am    
thanks

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