timeout error

Discussion in 'ASP .Net Web Services' started by AVL, Feb 28, 2008.

  1. AVL

    AVL Guest

    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?
    AVL, Feb 28, 2008
    #1
    1. Advertising

  2. AVL

    Tomar Guest

    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.

    "AVL" wrote:

    > 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?
    Tomar, Mar 4, 2008
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Bob Johnson
    Replies:
    0
    Views:
    3,738
    Bob Johnson
    Aug 7, 2003
  2. Do
    Replies:
    2
    Views:
    6,347
  3. Mark Probert

    Timeout::timeout and Socket timeout

    Mark Probert, Oct 6, 2004, in forum: Ruby
    Replies:
    1
    Views:
    1,271
    Brian Candler
    Oct 6, 2004
  4. vishnu
    Replies:
    0
    Views:
    342
    vishnu
    May 31, 2006
  5. vishnu
    Replies:
    0
    Views:
    194
    vishnu
    May 31, 2006
Loading...

Share This Page