Pages times out regardless of settings

S

Sean S - Perth, WA

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?
 
M

McKirahan

Sean S - Perth said:
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?

"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.
 
S

Sean S - Perth, WA

McKirahan said:
"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.
 
R

Roland Hall

in message
: "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
 
S

Sean S - Perth, WA

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top