FileSystemObject Stops Working

Damn, just spent 30 minutes fixing a problem I first had in ASP over three years ago. The FileSystemObject just stops working and no error is reported. Just hangs forever. Then you need to do an iisreset or similar.

The problem is that Norton Anti-Virus’ “Script Blocking” doesn’t allow any use of the FileSystemObject. Even when it is set to “ask me what to do” when it encounters “scripting” it still just hangs. The simple fix is just to disable script blocking. Now I need to remember this for the next time.

One Reply to “FileSystemObject Stops Working”

  1. I have just added a 2nd drive to my XP pro machine. An Excel VB program using filesystemobject used to take <2 why?

Leave a Reply

Your email address will not be published.