timeout error

A

AVL

Hi,
I've a method in my web service..which makes a call to db
and sends back a dataset..
the query takes 2 mins to fetch the results..by that time i'm seeing a
'operation has timed out error' on my screen..

is there any to get rid of this error?
 
T

Tomar

Timeout can happen in any layer. It seems db is returning the result but
front end is timing out

Try increasing the timeout of command used to execute the query.
I don't know the exact syntax but it should be as follows

command.timeout =30;

Also try increasing timeout in IIS.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top