|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
ASP script timeout error
<i><b>Originally posted by : vanzande (devin.vanzandt@ps.ge.com)</b></i><br />I have a service provider who has limited my script run times to 90 seconds. He will not change this. I have created a slick ASP program that steps through a database of e-mails and sends out personalized e-mails with an attachment. I can send out 15 e-mails at a time without a script timeout error and I need to send out another 800 e-mails. Is there a way to automatically send out e-mails in blocks of 15? I could do it manually, but it will take too long.<br />Regards,<br />vanzande
|
|
#2
|
|||
|
|||
|
<i><b>Originally posted by : Steve (sgrehan@yesresources.com)</b></i><br />Hi Vanzande,<br /><br />You don't need to get the service provider to change the timeout setting. You can acutally add some code to your script that will manually change the timeout for that page:<br /><br />Server.ScriptTimeout = 60<br /><br />Where 60 is 1 hour.<br /><br />Hope this helps!<br /><br />------------<br />vanzande at 10/11/2000 7:47:18 AM<br /><br />I have a service provider who has limited my script run times to 90 seconds. He will not change this. I have created a slick ASP program that steps through a database of e-mails and sends out personalized e-mails with an attachment. I can send out 15 e-mails at a time without a script timeout error and I need to send out another 800 e-mails. Is there a way to automatically send out e-mails in blocks of 15? I could do it manually, but it will take too long.<br />Regards,<br />vanzande
|
|
#3
|
|||
|
|||
|
<i><b>Originally posted by : Steve (sgrehan@yesresources.com)</b></i><br />Sorry, that 60 was seconds, not minutes
<br /><br /><br />------------<br />Steve at 10/11/2000 8:32:06 PM<br /><br />Hi Vanzande,<br /><br />You don't need to get the service provider to change the timeout setting. You can acutally add some code to your script that will manually change the timeout for that page:<br /><br />Server.ScriptTimeout = 60<br /><br />Where 60 is 1 hour.<br /><br />Hope this helps!<br /><br />------------<br />vanzande at 10/11/2000 7:47:18 AM<br /><br />I have a service provider who has limited my script run times to 90 seconds. He will not change this. I have created a slick ASP program that steps through a database of e-mails and sends out personalized e-mails with an attachment. I can send out 15 e-mails at a time without a script timeout error and I need to send out another 800 e-mails. Is there a way to automatically send out e-mails in blocks of 15? I could do it manually, but it will take too long.<br />Regards,<br />vanzande |
![]() |
| Viewing: ASP Free Forums > Programming > .NET Development > ASP script timeout error |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|