On some pages, i am getting an error “[COLOR=“Blue”]Timeout expired”. No error number or anything.
i have already set “[COLOR=“Purple”]Server.ScriptTimeout [COLOR=“Blue”]= [COLOR=“Red”]3600” in the code, so it should be an issue, and as it is, the pages loads over about 20 secs and then displays as is with the above error message- so its not even waiting minutes for the script.
[QUOTE=Stephen]
The server stops it at 60 seconds, if it is dying at 20, I am not sure what is causing that.
[/QUOTE]
mmm… 2 questions then:
even if it does get to 60 secs (which it doesnt) - shouldnt my “[COLOR=“Purple”]Server.ScriptTimeout [COLOR=“Blue”]= [COLOR=“Red”]3600” Ovreride that?
and
Sometimes - the same page can display perfectly, and othertimes (within minutes or seconds) will give the timeout error. what could the reason to this discrepancy be?
the timeout error is coming from SQL, changing the asp timeout won’t fix that. Figure out what’s going on with your query or the db and you’ll be good to go.