"list of files" & timeout

D

d.jpr

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
%>
 
B

Bob Barrows

d.jpr said:
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
 

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

Similar Threads


Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,815
Latest member
treekmostly22

Latest Threads

Top