Results 1 to 3 of 3

Thread: Timeout Problem

  1. #1

    Thread Starter
    Hyperactive Member spoiledkid's Avatar
    Join Date
    Oct 2002
    Location
    Canada
    Posts
    437

    Timeout Problem

    I have a small website on my localhost, which calls a Web Service to fetch some data from from a network server. Now I run the Stored Procedure in Query Analyzer and it only takes about 15-20 seconds. But when I call it from my website it times out ??? Any idea why ?

  2. #2
    Evil Genius alex_read's Avatar
    Join Date
    May 2000
    Location
    Espoo, Finland
    Posts
    5,538

    Re: Timeout Problem

    You can change how long your ASP.net code waits for a webservice before it times out by using the following methods:

    (1) Server.Timeout

    http://msdn.microsoft.com/library/de...meoutusage.asp

    (2) WebClientProtocol.Timeout

    http://msdn.microsoft.com/library/de...meouttopic.asp

    Please rate this post if it was useful for you!
    Please try to search before creating a new post,
    Please format code using [ code ][ /code ], and
    Post sample code, error details & problem details

  3. #3

    Thread Starter
    Hyperactive Member spoiledkid's Avatar
    Join Date
    Oct 2002
    Location
    Canada
    Posts
    437

    Re: Timeout Problem

    Quote Originally Posted by alex_read
    You can change how long your ASP.net code waits for a webservice before it times out by using the following methods:

    (1) Server.Timeout

    http://msdn.microsoft.com/library/de...meoutusage.asp

    (2) WebClientProtocol.Timeout

    http://msdn.microsoft.com/library/de...meouttopic.asp
    I specified server.scripttimeout property but still does not work ???

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