By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,647 Members | 1,444 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,647 IT Pros & Developers. It's quick & easy.

"list of files" & timeout

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.