470,613 Members | 2,205 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,613 developers. It's quick & easy.

"list of files" & timeout

running the following script (bottom mail) results after a few minutes in an
timeout error

Error Type:
Active Server Pages, ASP 0113 (0x80004005)
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.
/htdocs/dany/list.asp

tested on winxp pro & local IIS

what could be wrong?

thx

d.

<%
Whichfolder=server.mappath("\") &"/"
Dim fs, f, f1, fc
Set fs = CreateObject("Scripting.FileSystemObject")
Set f = fs.GetFolder(Whichfolder)
Set fc = f.files

For Each f1 in fc
Response.write (f1.name & "<BR>")
Next
%>
Jul 19 '05 #1
1 1887
d.jpr wrote:
running the following script (bottom mail) results after a few
minutes in an timeout error

Error Type:
Active Server Pages, ASP 0113 (0x80004005)
The maximum amount of time for a script to execute was exceeded. You

<%
Whichfolder=server.mappath("\") &"/"
Dim fs, f, f1, fc
Set fs = CreateObject("Scripting.FileSystemObject")


http://www.aspfaq.com/show.asp?id=2180

HTH,
Bob Barrows

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Jul 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Konrad L. M. Rudolph | last post: by
2 posts views Thread by thomasfj | last post: by
4 posts views Thread by Nicolás Castagnet | last post: by
9 posts views Thread by Marco Castro | last post: by
2 posts views Thread by =?Utf-8?B?UmF5IE1pdGNoZWxs?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.