Forums

ASP

This topic is locked

Scripting.FileSystemObject Problems

Posted 04 May 2002 02:05:00
1
has voted
04 May 2002 02:05:00 Josh Cooper posted:
I am using the Scripting.FileSystemObject and GetFolder method to get a directory listing. I'm certain all of my parameters are correct, as I can list directory contents on a remote server.

However, when I attempt to view the ASP page on my Win2k machine running IIS 5.0, it causes my ASP engine to "hang", which causes any ASP processes to freeze--I can't view ANY ASP pages unless I reboot my machine. I've had this problem once before, and the solution was to download and install a patch from Microsoft, but now I'm stuck with the problem again, and no patch seems to work anymore. IIS Lockdown doesn't fix anything for me, either.

Any ideas?

Replies

Replied 04 May 2002 02:47:27
04 May 2002 02:47:27 Josh Cooper replied:
Okay, I found the problem, and I'm posting to help anyone else who happens to come across the same problem.

Apparantly, Norton Antivirus causes IIS to hang when certain types of scripts using the Scripting.FileSystemObject object access the server's hard drive.

To fix this problem, you must open Norton Antivirus, click "options", then turn OFF Script Blocking. A reboot is required to disable script blocking entirely.

The Scripting.FileSystemObject methods I've used that cause this hang are the DeleteFile method and the GetFolder method. I would assume that most other methods will cause this problem as well, but I haven't tested them.

Whee! <img src=../images/dmxzone/forum/icon_smile_tongue.gif border=0 align=middle>

Reply to this topic