Server.ScriptTimeout is not working

Author Message
spacedeveloper

  • Total Posts : 6
  • Scores: 0
  • Reward points : 0
  • Joined: 8/3/2010
  • Status: offline
Server.ScriptTimeout is not working Wednesday, October 13, 2010 12:27 AM (permalink)
0
Hi everyone, I was curious to know what would cause a Server.ScriptTimeout value to be bypassed? I have a Server.ScriptTimeout = 120 and my IIS timeout is set to 120 seconds as well. Then I set a 400 second delay in a stored procedure that I call within the script and the whole page waits 400 seconds until the timeout error message appears!
 
So, does anyone know why the Server.ScriptTimeout and the IIS timeouts are both being ignored?
 
Thanks for your help
 
#1
    centauricw

    • Total Posts : 42
    • Scores: 2
    • Reward points : 0
    • Joined: 2/20/2006
    • Status: offline
    Re:Server.ScriptTimeout is not working Saturday, December 04, 2010 11:48 PM (permalink)
    0
    The script timeout is for the execution of the ASP script, but when you call a SQL stored procedure, the execution of the ASP script is suspended until the store procedure completes.
     
    #2

      Online Bookmarks Sharing: Share/Bookmark

      Jump to:

      Current active users

      There are 0 members and 1 guests.

      Icon Legend and Permission

      • New Messages
      • No New Messages
      • Hot Topic w/ New Messages
      • Hot Topic w/o New Messages
      • Locked w/ New Messages
      • Locked w/o New Messages
      • Read Message
      • Post New Thread
      • Reply to message
      • Post New Poll
      • Submit Vote
      • Post reward post
      • Delete my own posts
      • Delete my own threads
      • Rate post

      2000-2012 ASPPlayground.NET Forum Version 3.9