fso.GetFolder() holds IIS from responding

A

Ajak

Hi,

I'm developing an ASP page on Win XP (IIS 5.1) which uses the the GetFolder
method as below:-

Set f = fso.GetFolder(fsDir)

But everytime this line executes (when stepping in debugging mode), it stays
there forever. Restarting the browser/IIS webserver does not terminate the
process. Subsequent access to the webserver (other working page!) does not
get any reply/response from the webserver. Have to restart the PC to get the
webserver working again.

Other object returning FSO method such as GetFile also produce this kind of
behavior. But ordinary methods such as FolderExists works OK. Haven't tried
the OpenTextFile method which returns a TextStream object cos I'm tired of
restarting my PC.

Has any of you experienced this kind of behavior? Please help...
 
B

Bob Barrows

Ajak said:
Hi,

I'm developing an ASP page on Win XP (IIS 5.1) which uses the the
GetFolder method as below:-

Set f = fso.GetFolder(fsDir)

But everytime this line executes (when stepping in debugging mode),
it stays there forever. Restarting the browser/IIS webserver does not
terminate the process. Subsequent access to the webserver (other
working page!) does not get any reply/response from the webserver.
Have to restart the PC to get the webserver working again.

Other object returning FSO method such as GetFile also produce this
kind of behavior. But ordinary methods such as FolderExists works OK.
Haven't tried the OpenTextFile method which returns a TextStream
object cos I'm tired of restarting my PC.

Has any of you experienced this kind of behavior? Please help...

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

HTH,
Bob Barrows
 
A

Ajak

Thank you very much for the link... I disabled ScriptBlocking and now it
works flawlessly. Thanks again Bob!!
 

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,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top