Forums

ASP

This topic is locked

pureupload.asp server time out

Posted 20 Dec 2001 19:37:25
1
has voted
20 Dec 2001 19:37:25 mac mcdell posted:
hi. at uploadasp.com i am told that I need to this
Q7: When uploading large files, my script times out. What can I do to prevent it?
A. Set the Server.ScriptTimeout property to some large number such as 200 (in minutes) before invoking your upload script.

does anyone know how and where to put this is in the upload.asp page??

Replies

Replied 21 Dec 2001 10:21:08
21 Dec 2001 10:21:08 Viktor Farcic replied:
Below: <%@LANGUAGE="VBSCRIPT"%>
insert: <% Server.ScriptTimeout = 10000 %>
Change 10000 with any number of seconds.

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
hi. at uploadasp.com i am told that I need to this
Q7: When uploading large files, my script times out. What can I do to prevent it?
A. Set the Server.ScriptTimeout property to some large number such as 200 (in minutes) before invoking your upload script.

does anyone know how and where to put this is in the upload.asp page??


<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Viktor Farcic

TalkZone Manager

Edited by - vfarcic on 21 Dec 2001 17:46:52
Replied 21 Dec 2001 21:55:24
21 Dec 2001 21:55:24 mac mcdell replied:
thanks for the tip. i'll give it a try.
mac

Replied 21 Dec 2001 22:14:17
21 Dec 2001 22:14:17 mac mcdell replied:
Is this as it should be???
&lt;%@LANGUAGE="JAVASCRIPT"%&gt;
&lt;% Server.ScriptTimeout = 1000 %&gt;
&lt;script language=vbscript runat=server&gt;
'*** File Upload to: data, Extensions: "", Form: form1, Redirect: "thanks.asp"


this is the error i keep getting when uploading over 1 meg? has this got something to do with the free uploader?

Active Server Pages error 'ASP 0113'

Script timed out

/ads.asp

The maximum amount of time for a script to execute was exceeded. You can change this limit by specifying a new value for the property Server.ScriptTimeout or by changing the value in the IIS administration tools.

Please upload your advertisement to our secure directory. When your file is uploaded you will be taken to a thank-you page.




Reply to this topic