//  home   //  advanced search   //  news   //  categories   //  sql build chart   //  downloads   //  statistics
 ASP FAQ 
Home
ASP FAQ Tutorials

   8000XXXX Errors
   Alerts
   ASP.NET 2.0
   Classic ASP 1.0
      COM / ActiveX Components
      Forms
      General Topics
      Date/Time Routines
      Email Scripts & Info
      Files/Directories & FSO
   Databases
   General Concepts
   Search Engine Optimization (SEO)

Contact Us
Site Map

Search

Web
aspfaq.com
tutorials.aspfaq.com
classicasp.aspfaq.com

ASP FAQ Tutorials :: Classic ASP 1.0 :: Files/Directories & FSO :: Why does FileSystemObject hang all of a sudden?


Why does FileSystemObject hang all of a sudden?

Likely, you (re-)installed or re-configured Norton Anti-Virus, and as a result, a call within ASP to OpenTextFile hangs and/or other methods stop responding. This program has an option called 'script blocking' which, among other things, prevents FileSystemObject from working on the local file system. With the default setting, Norton raises a 'prompt'... and sits there waiting and waiting for a response from ASP (which it can obviously never get). To stop this from happening, go to Norton's Options screen, click on 'Script Blocking' and uncheck 'Enable Script Blocking'... 
 
 
 
Keep in mind you shouldn't be running client applications like this on a commercial web server... hopefully this issue is only affecting your workstation! 
 
There is more information available from Microsoft and Symantec on this issue: 
 
    Microsft KB #Q295375 
 
    Symantec KB #2001031311101006 
 
There are other options in Norton that have been identified as the source of this problem; for example, if your web server also has an SMTP server, you may need to disable the "Scan Outgoing Email" option. 
 
Norton isn't the only tool that 'helps' you by disabling access to scripting objects like FileSystemObject: McAfee VirusScan may also be preventing you from utilizing everyday scripts. Here is a screen shot from Walter Allen, running 7.02.6000, who had to disable the 'Hawk script stopper' feature before he could read and write text files on his machine: 
 
 
 
Also look out for a McAfee sub-component called "script watcher"...

Related Articles

Can I include a file in both server-side and client-side script?
Can I read / write a user's file without a prompt?
Can I rename a file using FileSystemObject?
Could I get some help working with files using FileSystemObject?
How do I avoid 'the red x' when an image is missing?
How do I change the modified time of a file?
How do I create / manipulate images from ASP?
How do I dynamically include files?
How do I find the owner, author, and other properties of a file?
How do I get a list of a folder's subfolders?
How do I get the name of the current URL / page?
How do I prevent people from 'leeching' my CSS or JS files?
How do I prevent people from 'leeching' my images?
How do I retrieve a random file from a given folder?
How do I send the correct filename with BinaryWrite?
How do I sort a list of files?
How do I use FileSystemObject to create a file on the client?
Why do I get 'Disk not ready' errors with FileSystemObject?
Why do I get 'Invalid procedure call or argument'?
Why do I get 'Path not found' errors with Scripting.FileSystemObject?
Why do I get 'Permission Denied' errors with FileSystemObject?
Why do I get 800A0034 errors?
Why do I get 800A003E / Input past end of file errors?
Why do I get 800A0BBA errors?
Why do I get 800A0BBC errors?
Why do I get an 'Invalid Path Character' error?
Why do I get permissions errors after upgrading to Windows XP?
Why is 'the operation completed successfully' an error message?

 

 


Created: 5/18/2001 | Last Updated: 6/22/2006 | broken links | helpful | not helpful | statistics
© Copyright 2006, UBR, Inc. All Rights Reserved. (312)

 

Copyright 1999-2006, All rights reserved.
Finding content
Finding content.  An error has occured...