Click here to Skip to main content
15,899,825 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi
Asp.net application is not responding on long sql queries

working fine on
.small data
not working on
.large data

we implemented executiontme out in
1. web.config in httpRuntime
2. code behind on sql command

but not responding problem still exist.

Regards

Zain
Posted
Updated 26-Aug-11 19:06pm
v2

First of all i would like to suggest to Optimize the query. For optimizing the query there are a lot of sites available. one I suggest is http://blog.sqlauthority.com/2010/02/16/sql-server-stored-procedure-optimization-tips-best-practices/[^]

Another is to return the data in chunk, instead of returning all the data at a time. see http://www.4guysfromrolla.com/articles/031506-1.aspx[^]
 
Share this answer
 
Hi Zain,

I had come across such a problem.I used stored procedures instead of such long queries.Finally,i got the result.

Have a good time@@
 
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