timeout error

  • Thread starter Thread starter AVL
  • Start date Start date
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?
 
To egt rid of this error, you may have to rethink/rework/reconfigure the way
your system works. Where do you see the error? from the client app side,
which calls the web service?

First, you need to distinguish the timeout is raised by database connection
or by the web server. If it is database connection/command execution
timeout, you may have to change the way the databasbeing accessed.

Since your app calls Web Services, by default, the web server has 120s (2
min, coincident, eh?) timeout by default. You could configure the web
application (web service) to have longer timeout. Or you could make your app
not waiting the web server' long time process being finished...
 
Back
Top