Hi all,

I've written a page that uses a emailer component and it keeps timing out.
It takes 2-3 seconds to send each mail, gets part way through the list of
recipients and dies.

I have tried changing the Script Timeout setting in IIS to some huge number
(2147483647?).

I have tried setting Server.ScriptTimeout = 0 and Server.ScriptTimeout =
2147483647.

None of these make any difference. What can I do now?


--
Sean.

Re: Pages times out regardless of settings by McKirahan

McKirahan
Fri Oct 14 05:38:14 CDT 2005

"Sean S - Perth, WA" <SeanSPerthWA@discussions.microsoft.com> wrote in
message news:16A674BA-96E3-42F1-BAC2-CA19CDCB8010@microsoft.com...
> Hi all,
>
> I've written a page that uses a emailer component and it keeps timing out.
> It takes 2-3 seconds to send each mail, gets part way through the list of
> recipients and dies.
>
> I have tried changing the Script Timeout setting in IIS to some huge
number
> (2147483647?).
>
> I have tried setting Server.ScriptTimeout = 0 and Server.ScriptTimeout =
> 2147483647.
>
> None of these make any difference. What can I do now?
>
>
> --
> Sean.

"part way through the list" -- how many?

I've had it die after about thirty because of a Web host
configured limit (I believe) to minimize potential spam.



Re: Pages times out regardless of settings by SeanSPerthWA

SeanSPerthWA
Sun Oct 16 21:01:01 CDT 2005

"McKirahan" wrote:

> "part way through the list" -- how many?

Anywhere between 20 and 50.

> I've had it die after about thirty because of a Web host
> configured limit (I believe) to minimize potential spam.

It's a private develpment server. This is not an issue.

Re: Pages times out regardless of settings by Roland

Roland
Mon Oct 17 02:49:29 CDT 2005

"Sean S - Perth, WA" wrote in message
news:E1524B7F-0652-489F-8B56-7EBFD14BA6A9@microsoft.com...
: "McKirahan" wrote:
:
: > "part way through the list" -- how many?
:
: Anywhere between 20 and 50.
:
: > I've had it die after about thirty because of a Web host
: > configured limit (I believe) to minimize potential spam.
:
: It's a private develpment server. This is not an issue.

define 'just dies'. You're not getting a script timeout message? Do you
have an On Error Resume Next line somewhere in the code?
Which email component? OS?

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp



RE: Pages times out regardless of settings by SeanSPerthWA

SeanSPerthWA
Mon Oct 17 04:31:04 CDT 2005

OK, fixed it. It looks like IIS just required a restart to pick up the change
to the Script Timeout setting.

--
Sean.