Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: server.timeout error when sending emails


Message #1 by "snkb" <krushnas@x...> on Tue, 11 Dec 2001 16:59:44
Hi,

   I have a script which sends out emails to all the people

   who have suscribed to the listserv. So the number of eamils

   to be sent out varies.Also email also handles attachements.

   The secript works fine for small sized attachements. But a little

   bigger attachements create the problem. I am getting script.timeout 

   error. I manually increased the timeout value to 700 but I know

   its not a proper solution. 

   Can anybody provide me with a more permanent solution to it?

Thanks in advance,

snkb.

Message #2 by Eli Schilling <eschilli@t...> on Tue, 11 Dec 2001 09:09:33 -0800
If you are using IIS you can go into the properties and change the script

timeout value for the entire site.



To do it for the entire server go to IIS admin, click on the servername and

open the properties.  Under master properties select Edit.  Go to the Home

Directory tab.  Click the Configuration button and go to APP options.  Under

that you'll see a value for ASP Script timeout.  Default is 90 seconds,

change it to whatever you want.



If you have multiple web sites and wish to change only specific ones, follow

the instructions above but click on the web site rather than the server

name.  You can also skip the step about clicking Edit under master

properties.



Cheers,

Eli



-----Original Message-----

From: snkb [mailto:krushnas@x...]

Sent: Tuesday, December 11, 2001 9:00 AM

To: ASP CDO

Subject: [asp_cdo] server.timeout error when sending emails





Hi,

   I have a script which sends out emails to all the people

   who have suscribed to the listserv. So the number of eamils

   to be sent out varies.Also email also handles attachements.

   The secript works fine for small sized attachements. But a little

   bigger attachements create the problem. I am getting script.timeout 

   error. I manually increased the timeout value to 700 but I know

   its not a proper solution. 

   Can anybody provide me with a more permanent solution to it?

Thanks in advance,

snkb.

   

 









Message #3 by "snkb" <krushnas@x...> on Tue, 11 Dec 2001 18:07:01
> If you are using IIS you can go into the properties and change the script

> timeout value for the entire site.

> 

> To do it for the entire server go to IIS admin, click on the servername 

and

> open the properties.  Under master properties select Edit.  Go to the 

Home

> Directory tab.  Click the Configuration button and go to APP options.  

Under

> that you'll see a value for ASP Script timeout.  Default is 90 seconds,

> change it to whatever you want.

> 

> If you have multiple web sites and wish to change only specific ones, 

follow

> the instructions above but click on the web site rather than the server

> name.  You can also skip the step about clicking Edit under master

> properties.

> 

> Cheers,

> Eli





Thank you,

  But I cannot change the seetings on the server . 

  Is there any way throu VBSCRIPT that we can solv this problem?

snkb.

> 

> -----Original Message-----

> From: snkb [mailto:krushnas@x...]

> Sent: Tuesday, December 11, 2001 9:00 AM

> To: ASP CDO

> Subject: [asp_cdo] server.timeout error when sending emails

> 

> 

> Hi,

>    I have a script which sends out emails to all the people

>    who have suscribed to the listserv. So the number of eamils

>    to be sent out varies.Also email also handles attachements.

>    The secript works fine for small sized attachements. But a little

>    bigger attachements create the problem. I am getting script.timeout 

>    error. I manually increased the timeout value to 700 but I know

>    its not a proper solution. 

>    Can anybody provide me with a more permanent solution to it?

> Thanks in advance,

> snkb.

>    

>  




> 




Message #4 by Eli Schilling <eschilli@t...> on Tue, 11 Dec 2001 10:08:12 -0800
So you are looking for a permanent solution using VBScript?



-----Original Message-----

From: snkb [mailto:krushnas@x...]

Sent: Tuesday, December 11, 2001 10:07 AM

To: ASP CDO

Subject: [asp_cdo] RE: server.timeout error when sending emails





> If you are using IIS you can go into the properties and change the script

> timeout value for the entire site.

> 

> To do it for the entire server go to IIS admin, click on the servername 

and

> open the properties.  Under master properties select Edit.  Go to the 

Home

> Directory tab.  Click the Configuration button and go to APP options.  

Under

> that you'll see a value for ASP Script timeout.  Default is 90 seconds,

> change it to whatever you want.

> 

> If you have multiple web sites and wish to change only specific ones, 

follow

> the instructions above but click on the web site rather than the server

> name.  You can also skip the step about clicking Edit under master

> properties.

> 

> Cheers,

> Eli





Thank you,

  But I cannot change the seetings on the server . 

  Is there any way throu VBSCRIPT that we can solv this problem?

snkb.

> 

> -----Original Message-----

> From: snkb [mailto:krushnas@x...]

> Sent: Tuesday, December 11, 2001 9:00 AM

> To: ASP CDO

> Subject: [asp_cdo] server.timeout error when sending emails

> 

> 

> Hi,

>    I have a script which sends out emails to all the people

>    who have suscribed to the listserv. So the number of eamils

>    to be sent out varies.Also email also handles attachements.

>    The secript works fine for small sized attachements. But a little

>    bigger attachements create the problem. I am getting script.timeout 

>    error. I manually increased the timeout value to 700 but I know

>    its not a proper solution. 

>    Can anybody provide me with a more permanent solution to it?

> Thanks in advance,

> snkb.

>    

>  




> 






 









Message #5 by "snkb" <krushnas@x...> on Tue, 11 Dec 2001 18:13:24
> So you are looking for a permanent solution using VBScript?

> 

yes. Something like being able to queue the mails in someway without user 

intervention. etc. 





snkb.

  Return to Index