Results 1 to 2 of 2

Thread: SQL Server call timeout

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    SQL Server call timeout

    have a problem here.

    a client basically has a SPROC and has a good few while loops and executing other SPROCS within the SPROC which may also have some while loops.

    now, this works fine (I dont recommend doing it but thats a different matter) and I can use the SqlDataReader to get the results back.

    however, adding another SPROC to execute, it seems to just timeout but running it in QA takes around 4-5 seconds.

    I did set the command timeout property to 60 and longer, but makes no difference.

    any ideas on how to get around this problem? Like I said, it takes QA 5 seconds to execute this procedure with the new code in place.... but in C#, it times out unless we comment out this other line which executes another SPROC within the same SPROC.

    MVP 2007-2010 any chance of a regain?
    Professional Software Developer and Infrastructure Engineer.

  2. #2

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    Re: SQL Server call timeout

    even with a bit of clear up on the SPROC itself..... it still seems to timeout but in QA, again, takes 3/4 seconds to get the results back but "hangs" in .NET when reading the data.

    MVP 2007-2010 any chance of a regain?
    Professional Software Developer and Infrastructure Engineer.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width